mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-19 14:13:27 +02:00
Version 2.0 - preys, bot updates, ui improvements
This commit is contained in:
@@ -477,7 +477,7 @@ function onFreeCapacityChange(player, freeCapacity)
|
||||
freeCapacity = math.floor(freeCapacity)
|
||||
end
|
||||
if freeCapacity > 99999 then
|
||||
freeCapacity = 99999
|
||||
freeCapacity = math.min(9999, math.floor(freeCapacity/1000)) .. "k"
|
||||
end
|
||||
capLabel:setText(tr('Cap') .. ':\n' .. freeCapacity)
|
||||
end
|
||||
|
Reference in New Issue
Block a user