QTfrontend/ui/widget/mapContainer.cpp
changeset 10959 1225f42f61e2
parent 10521 844874dba527
child 11749 ac58a063d26a
--- a/QTfrontend/ui/widget/mapContainer.cpp	Mon May 25 14:31:06 2015 -0400
+++ b/QTfrontend/ui/widget/mapContainer.cpp	Mon May 25 15:48:07 2015 -0400
@@ -326,6 +326,7 @@
                    getMazeSize(),
                    getDrawnMapData(),
                    m_script,
+                   m_scriptparam,
 		           m_mapFeatureSize
                   );
 
@@ -431,9 +432,10 @@
         updatePreview();
 }
 
-void HWMapContainer::setScript(const QString & script)
+void HWMapContainer::setScript(const QString & script, const QString & scriptparam)
 {
     m_script = script;
+    m_scriptparam = scriptparam;
     if ((m_mapInfo.type == MapModel::GeneratedMap)
             || (m_mapInfo.type == MapModel::GeneratedMaze)
             || (m_mapInfo.type == MapModel::GeneratedPerlin)