mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-12-24 04:40:05 +00:00
replaced high_resolution_clock with system_time for timestamps
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user