hedgewars/uLand.pas
changeset 7567 da2aa8355d91
parent 7559 020c93746b0d
child 7569 c7d4e035cf9d
--- a/hedgewars/uLand.pas	Tue Aug 21 13:26:26 2012 +0400
+++ b/hedgewars/uLand.pas	Tue Aug 21 19:40:02 2012 -0400
@@ -284,6 +284,8 @@
         3: SelectTemplate:= LargeTemplates[getrandom(Succ(High(LargeTemplates)))];
         4: SelectTemplate:= CavernTemplates[getrandom(Succ(High(CavernTemplates)))];
         5: SelectTemplate:= WackyTemplates[getrandom(Succ(High(WackyTemplates)))];
+// For lua only!
+        6: SelectTemplate:= LuaTemplateNumber;
     end;
 
     WriteLnToConsole('Selected template #'+inttostr(SelectTemplate)+' using filter #'+inttostr(cTemplateFilter));