# HG changeset patch
# User Wuzzy <almikes@aol.com>
# Date 1507145585 -7200
# Node ID c755afd8fb6b25e752d878bd16870c8ce92078b4
# Parent  f190ed9df875bacc73a5e2161e5c1edb62f45b19
Remove ScriptParam from HedgeEditor

diff -r f190ed9df875 -r c755afd8fb6b share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua	Wed Oct 04 21:25:27 2017 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua	Wed Oct 04 21:33:05 2017 +0200
@@ -291,8 +291,6 @@
 local shoppaPY = {}
 local shoppaPR = {}
 
-local savedScriptParam = ""
-
 -- Misc. state variables
 local hedgeEditorMissionPanelShown = false
 local tagGears = {}
@@ -1594,13 +1592,11 @@
 
 	WriteLnToConsole("	Ready = " .. Ready)
 	WriteLnToConsole("	AirMinesNum = " .. AirMinesNum)
-	if savedScriptParam ~= "" then
-		-- TODO:
-		--WriteLnToConsole("	ScriptParam = \"" .. savedScriptParam .. "\"")
-	end
 	WriteLnToConsole("	GetAwayTime = " .. GetAwayTime)
 	WriteLnToConsole("	WorldEdge = " .. WorldEdge)
 
+	-- ScriptParam intentionally left out, it doesn't make sense for missions.
+
 	WriteLnToConsole("")
 
 	SaveHogData()
@@ -3345,9 +3341,6 @@
 		mapID = 1
 	end
 
-	-- Neccessary cuz ScriptParam is not global
-	savedScriptParam = ScriptParam
-
 end
 
 function onGameInit()