Core/Players: Fixed typo in updating soulbound trade times (check every second, not every 1000 seconds)
This commit is contained in:
@@ -1305,7 +1305,8 @@ void Player::Update(uint32 p_time)
|
|||||||
if (now > m_Last_tick)
|
if (now > m_Last_tick)
|
||||||
UpdateItemDuration(uint32(now - m_Last_tick));
|
UpdateItemDuration(uint32(now - m_Last_tick));
|
||||||
|
|
||||||
if (now > m_Last_tick + IN_MILLISECONDS)
|
// check every second
|
||||||
|
if (now > m_Last_tick + 1)
|
||||||
UpdateSoulboundTradeItems();
|
UpdateSoulboundTradeItems();
|
||||||
|
|
||||||
if (!m_timedquests.empty())
|
if (!m_timedquests.empty())
|
||||||
|
|||||||
Reference in New Issue
Block a user