Page 1 of 1

Error in settings.lua

Posted: Sun May 23, 2010 10:55 am
by zbynio
Hi

bot version 444

this is bad:
local function setLanguage(_name)
include(getExecutionPath() .. "/language/" .. _name .. ".lua");
end

this is correct:
local function setLanguage(_name)
include("/language/" .. _name .. ".lua");
end

change it and language choice work fine (line 994)

Re: Error in settings.lua

Posted: Sun May 23, 2010 12:52 pm
by Administrator
Thanks. Not sure how that bug crept in. My guess is that it came with the change to automatically detect and use the same language as the game client, so it was overlooked. It'll be in the next commit.