mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 12:34:55 +02:00
Fix #235 and other changes
This commit is contained in:
@@ -352,6 +352,8 @@ function refreshTradeItems()
|
||||
end
|
||||
|
||||
function refreshPlayerGoods()
|
||||
if not g_game.isOnline() then return end
|
||||
|
||||
moneyLabel:setText(playerMoney .. ' ' .. CURRENCY)
|
||||
capacityLabel:setText(string.format('%.2f', playerFreeCapacity) .. ' ' .. WEIGHT_UNIT)
|
||||
|
||||
|
Reference in New Issue
Block a user