mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 20:14:54 +02:00
fix lua error, add pt translations
This commit is contained in:
@@ -234,7 +234,7 @@ function Console.terminate()
|
||||
onGameEnd = Console.clear })
|
||||
|
||||
for channelid, channelname in pairs(channels) do
|
||||
if channelid ~= 0 then
|
||||
if tonumber(channelid) and tonumber(channelid) ~= 0 then
|
||||
g_game.leaveChannel(channelid)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user