hedgewars/uCommandHandlers.pas
changeset 6245 6df227b5e4c9
parent 6131 4e8816cf9459
child 6254 e90fb60cb46d
equal deleted inserted replaced
6244:23801d8b83d5 6245:6df227b5e4c9
   455     UserPathz[ptMapCurrent]:= UserPathz[ptMaps] + '/' + s;
   455     UserPathz[ptMapCurrent]:= UserPathz[ptMaps] + '/' + s;
   456     Pathz[ptMapCurrent]:= Pathz[ptMaps] + '/' + s;
   456     Pathz[ptMapCurrent]:= Pathz[ptMaps] + '/' + s;
   457     InitStepsFlags:= InitStepsFlags or cifMap
   457     InitStepsFlags:= InitStepsFlags or cifMap
   458     end;
   458     end;
   459 
   459 
   460 ScriptLoad(s)
   460 ScriptLoad('Maps/' + s + '/map.lua')
   461 end;
   461 end;
   462 
   462 
   463 procedure chSetTheme(var s: shortstring);
   463 procedure chSetTheme(var s: shortstring);
   464 begin
   464 begin
   465 if isDeveloperMode then
   465 if isDeveloperMode then