hedgewars/uScript.pas
changeset 10421 87e47843018e
parent 10368 7ebb71a36e95
child 10496 ba166d4e66f3
--- a/hedgewars/uScript.pas	Thu Oct 02 00:06:59 2014 +0200
+++ b/hedgewars/uScript.pas	Thu Oct 02 00:40:25 2014 +0200
@@ -2751,8 +2751,14 @@
 
 // land flags
 ScriptSetInteger('lfIndestructible', lfIndestructible);
-ScriptSetInteger('lfIce',            lfIce);
-ScriptSetInteger('lfBouncy',         lfBouncy);
+ScriptSetInteger('lfIce'           , lfIce);
+ScriptSetInteger('lfBouncy'        , lfBouncy);
+
+// mapgen
+ScriptSetInteger('mgRandom', mgRandom);
+ScriptSetInteger('mgMaze'  , mgMaze);
+ScriptSetInteger('mgPerlin', mgPerlin);
+ScriptSetInteger('mgDrawn' , mgDrawn);
 
 // register functions
 lua_register(luaState, _P'HideHog', @lc_hidehog);