hedgewars/uCommandHandlers.pas
changeset 6245 6df227b5e4c9
parent 6131 4e8816cf9459
child 6254 e90fb60cb46d
--- a/hedgewars/uCommandHandlers.pas	Sun Oct 30 21:19:47 2011 +0100
+++ b/hedgewars/uCommandHandlers.pas	Sun Oct 30 23:24:36 2011 +0100
@@ -457,7 +457,7 @@
     InitStepsFlags:= InitStepsFlags or cifMap
     end;
 
-ScriptLoad(s)
+ScriptLoad('Maps/' + s + '/map.lua')
 end;
 
 procedure chSetTheme(var s: shortstring);