share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua
changeset 12648 c755afd8fb6b
parent 12647 f190ed9df875
child 12740 cae0b3139ff7
--- 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()