Core/Player: fixed clientside display of weekly cap when refunding currency items

This commit is contained in:
Ovahlord
2018-03-18 15:54:27 +01:00
parent 8bf6334450
commit 8e1f0da71e

View File

@@ -7322,7 +7322,7 @@ void Player::ModifyCurrency(uint32 id, int32 count, bool printLog/* = true*/, bo
packet << uint32(newTotalCount / precision);
packet << uint32(id);
if (weekCap)
packet << uint32(newWeekCount / precision);
packet << uint32((!isRefund ? newWeekCount : oldWeekCount) / precision);
GetSession()->SendPacket(&packet);
}