forked from metin2/server
fix: wrong delay used for item drop despawn.
This commit is contained in:
parent
3a8d9e38e8
commit
b15eb7f3fe
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue