TechRacer: Remove script parameter “helpDisabled”
authorWuzzy <Wuzzy2@mail.ru>
Sat, 24 Mar 2018 22:28:53 +0100
changeset 13282 c15af5a5f458
parent 13281 2709572ed815
child 13283 7476c1a50738
TechRacer: Remove script parameter “helpDisabled” Pointless since you can quickly toggle help anyway, so supporting this script param only clutters the documentation.
share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua	Sat Mar 24 11:07:44 2018 -0400
+++ b/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua	Sat Mar 24 22:28:53 2018 +0100
@@ -27,7 +27,6 @@
 -- CORE FEATURES as of latest version
 ---------------------------------------
 -- togglable help (press PRECISE + 1, while you have a tool (e.g. airstrike) selected)
--- you can also the set the ScriptParameter in scheme, e.g: helpDisabled="true"
 
 -- place girders, rubberbands and custom sprites anywhere on the map.
 -- the above objects may be destructible, indestructible, icy, or bouncy.
@@ -73,7 +72,6 @@
 -- ufoFuel=1000 (Flying Saucer will start with half the normal fuel. A value of 2000 is infinite fuel)
 -- portalDistance=15 (This is the distance portals can travel before fizzling)
 -- m=3 (load a particular map from the map library of Data/Scripts/TechMaps
--- helpDisabled="true" (the help pop-up overlay will be disabled by default)
 
 -- when saving data, points for conversion to HWMAP are also generated and placed inside block comments.
 -- copy paste/these points at the START of a converted HWMAP and then convert the map back to HWMAP format.
@@ -3451,10 +3449,6 @@
 		portalDistance = 5000
 	end
 
-	if params["helpDisabled"] == "true" then
-		helpDisabled = true
-	end
-
 	if mapID == nil then
 		mapID = 1
 	end