--- a/hedgewars/uCommandHandlers.pas Fri Aug 31 16:51:33 2018 +0200
+++ b/hedgewars/uCommandHandlers.pas Fri Aug 31 18:15:45 2018 +0200
@@ -113,7 +113,7 @@
if s[byte(s[0])]='"' then
Delete(s, byte(s[0]), 1);
cScriptName:= s;
-ScriptLoad(s)
+ScriptLoad(s, true)
end;
procedure chScriptParam(var s: shortstring);
@@ -536,7 +536,7 @@
InitStepsFlags:= InitStepsFlags or cifMap
end;
cMapName:= s;
-ScriptLoad('Maps/' + s + '/map.lua')
+ScriptLoad('Maps/' + s + '/map.lua', false)
end;
procedure chSetTheme(var s: shortstring);