fix: wrong delay used for item drop despawn.

This commit is contained in:
Tr0n 2024-04-09 20:33:14 +02:00
parent 3a8d9e38e8
commit b15eb7f3fe
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -5265,8 +5265,8 @@ bool CHARACTER::DropGold(int gold)
if (gold > 1000) // 천원 이상만 기록한다. if (gold > 1000) // 천원 이상만 기록한다.
LogManager::instance().CharLog(this, gold, "DROP_GOLD", ""); LogManager::instance().CharLog(this, gold, "DROP_GOLD", "");
item->StartDestroyEvent(60); item->StartDestroyEvent(150);
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The dropped item will vanish in %d minutes."), 1); ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The dropped item will vanish in %d minutes."), 150/60);
} }
Save(); Save();