replaced high_resolution_clock with system_time for timestamps

This commit is contained in:
kamilprzyb
2020-09-22 21:15:47 +02:00
parent 0931c88541
commit 7ba9b9a54f
4 changed files with 15 additions and 6 deletions

View File

@@ -118,7 +118,7 @@ void NPCManager::npcVendorBuy(CNSocket* sock, CNPacketData* data) {
// if vehicle
if (req->Item.iType == 10)
// set time limit: current time + 7days
req->Item.iTimeLimit = getTime() + 604800;
req->Item.iTimeLimit = getTimestamp() + 604800;
if (slot != req->iInvenSlotNum) {