Core/Player: fixed clientside display of weekly cap when refunding currency items
This commit is contained in:
1 parent
8bf6334450
commit
8e1f0da71e
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user