mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 19:44:54 +02:00
Fix translations, there were all broken
This commit is contained in:
@@ -2,8 +2,13 @@
|
||||
|
||||
function print(...)
|
||||
local msg = ""
|
||||
for i,v in ipairs({...}) do
|
||||
msg = msg .. tostring(v) .. " "
|
||||
local args = {...}
|
||||
local appendSpace = #args > 1
|
||||
for i,v in ipairs(args) do
|
||||
msg = msg .. tostring(v)
|
||||
if appendSpace and i < #args then
|
||||
msg = msg .. ' '
|
||||
end
|
||||
end
|
||||
g_logger.log(LogInfo, msg)
|
||||
end
|
||||
|
Reference in New Issue
Block a user