share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua
changeset 12001 acf5dab74f92
parent 12000 132ffe52d943
child 12002 a2f0c0d0e534
--- a/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua	Sat Apr 09 08:45:46 2016 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua	Sat Apr 09 08:52:19 2016 +0200
@@ -2960,7 +2960,11 @@
 	elseif (preciseOn == true) and (s == 1) then
 		if (GetCurAmmoType() == amGirder) or  (GetCurAmmoType() == amRubber) or  (GetCurAmmoType() == amAirAttack) then
 			helpDisabled = not(helpDisabled)
-			AddCaption("Help Disabled: " .. BoolToString(helpDisabled),0xffba00ff,capgrpVolume)
+			if helpDisabled then
+				AddCaption(loc("Help Disabled"),0xffba00ff,capgrpVolume)
+			else
+				AddCaption(loc("Help Enabled"),0xffba00ff,capgrpVolume)
+			end
 			updateHelp()
 		end
 	elseif (cat[cIndex] == loc("Sprite Placement Mode")) or (cat[cIndex] == loc("Girder Placement Mode")) or (cat[cIndex] == loc("Rubber Placement Mode")) or (cat[cIndex] == loc("Sprite Modification Mode")) then