Control (style): Fix scoring breakage after extra time for real
authorWuzzy <Wuzzy2@mail.ru>
Sat, 18 May 2019 18:31:17 +0200
changeset 15010 1b3d788e7350
parent 15009 2bf7b1ba12fe
child 15011 f81b46f584c7
Control (style): Fix scoring breakage after extra time for real
share/hedgewars/Data/Maps/Control/map.lua
--- a/share/hedgewars/Data/Maps/Control/map.lua	Sat May 18 18:22:14 2019 +0200
+++ b/share/hedgewars/Data/Maps/Control/map.lua	Sat May 18 18:31:17 2019 +0200
@@ -454,7 +454,7 @@
 
 function onHogAttack(ammoType)
 	-- Update TimeCounter after using extra time
-	if ammoTime == amExtraTime then
+	if ammoType == amExtraTime then
 		if (TimeCounter == 0) and (TurnTimeLeft > 0) then
 			TimeCounter = TurnTimeLeft
 		end