Construction Mode: Recognize health case amount from game scheme
authorWuzzy <almikes@aol.com>
Wed, 13 Apr 2016 02:44:37 +0200
changeset 11731 4addfad422ab
parent 11730 3444792e8ebe
child 11732 1c09b8d050ce
Construction Mode: Recognize health case amount from game scheme
share/hedgewars/Data/Scripts/Multiplayer/Construction_Mode.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/Construction_Mode.lua	Wed Apr 13 02:41:16 2016 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Construction_Mode.lua	Wed Apr 13 02:44:37 2016 +0200
@@ -1192,7 +1192,7 @@
 		pMode = {60}
 		placedExpense = 10
 	elseif cat[cIndex] == "Health Crate Placement Mode" then
-		pMode = {25}
+		pMode = {HealthCaseAmount}
 		placedExpense = 5
 	elseif cat[cIndex] == "Weapon Crate Placement Mode" then
 		for i = 1, #atkArray do