ASA, ice01: Fix turn ready caption
authorWuzzy <almikes@aol.com>
Sat, 30 Sep 2017 00:59:12 +0200
changeset 12603 1d33d66e40a7
parent 12602 a9a7ef966e72
child 12604 a45f8eec6869
ASA, ice01: Fix turn ready caption
share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice01.lua
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice01.lua	Sat Sep 30 00:52:06 2017 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice01.lua	Sat Sep 30 00:59:12 2017 +0200
@@ -254,8 +254,9 @@
 			EndTurn(true)
 		end
 	elseif CurrentHedgehog == ally.gear then
-		AddCaption("")
-		AnimSwitchHog(hero.gear)
+		-- This switches back to hero (indirectly)
+		SwitchHog(bandit1.gear)
+		EndTurn(true)
 	end
 	-- frozen hogs accounting
 	if CurrentHedgehog == hero.gear and heroAtFinalStep and TurnTimeLeft > 0 then