fix mission map script loading
authorsheepluva
Sun, 30 Oct 2011 23:24:36 +0100
changeset 6245 6df227b5e4c9
parent 6244 23801d8b83d5
child 6246 6b2d19ed521a
fix mission map script loading
hedgewars/uCommandHandlers.pas
--- 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);