# HG changeset patch
# User Wuzzy <Wuzzy2@mail.ru>
# Date 1509490998 -3600
# Node ID d6c75b27db584c97354319ebeddae221e5fa34d5
# Parent  59cb9bd8331c56770f5d11c58d5a68c2183dd4ab
Fix frontend not sending script param if empty

diff -r 59cb9bd8331c -r d6c75b27db58 QTfrontend/ui/widget/gamecfgwidget.cpp
--- a/QTfrontend/ui/widget/gamecfgwidget.cpp	Tue Oct 31 19:27:23 2017 +0100
+++ b/QTfrontend/ui/widget/gamecfgwidget.cpp	Wed Nov 01 00:03:18 2017 +0100
@@ -333,6 +333,8 @@
     bcfg << QString("e$mapgen %1").arg(mapgen).toUtf8();
     if(!schemeData(43).isNull())
         bcfg << QString("e$scriptparam %1").arg(schemeData(43).toString()).toUtf8();
+    else
+        bcfg << QString("e$scriptparam ").toUtf8();
 
 
     switch (mapgen)