fix lua error, add pt translations

This commit is contained in:
Henrique Santiago
2012-06-03 19:55:26 -03:00
parent 3f95d62467
commit 9548ce78c6
2 changed files with 45 additions and 1 deletions

View File

@@ -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