QTfrontend/ui/widget/gamecfgwidget.cpp
changeset 9902 eb8e8b09b2f0
parent 9771 6fb8dafe57f7
child 9904 ef3321c86912
--- a/QTfrontend/ui/widget/gamecfgwidget.cpp	Wed Jan 01 13:42:38 2014 +0400
+++ b/QTfrontend/ui/widget/gamecfgwidget.cpp	Wed Jan 01 14:16:01 2014 +0400
@@ -324,7 +324,8 @@
     bcfg << QString("e$worldedge %1").arg(schemeData(41).toInt()).toUtf8();
     bcfg << QString("e$template_filter %1").arg(pMapContainer->getTemplateFilter()).toUtf8();
     bcfg << QString("e$mapgen %1").arg(mapgen).toUtf8();
-
+    if(!schemeData(42).isNull())
+        bcfg << QString("e$scriptparam %1").arg(schemeData(42).toString()).toUtf8();
 
 
     switch (mapgen)