--- a/hedgewars/uScript.pas Wed Sep 02 04:25:24 2015 +0200
+++ b/hedgewars/uScript.pas Wed Sep 02 04:49:11 2015 +0200
@@ -2667,6 +2667,7 @@
ScriptSetInteger('TemplateFilter', cTemplateFilter);
ScriptSetInteger('TemplateNumber', LuaTemplateNumber);
ScriptSetInteger('MapGen', ord(cMapGen));
+ScriptSetInteger('MapFeatureSize', cFeatureSize);
ScriptCall('onPreviewInit');
@@ -2675,6 +2676,7 @@
cTemplateFilter := ScriptGetInteger('TemplateFilter');
LuaTemplateNumber:= ScriptGetInteger('TemplateNumber');
cMapGen := TMapGen(ScriptGetInteger('MapGen'));
+cFeatureSize := ScriptGetInteger('MapFeatureSize');
end;
procedure ScriptOnGameInit;