--- 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()