share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice02.lua
branchspacecampaign
changeset 9645 da7b4d8c181e
parent 9642 8a691e0f117a
child 9757 9be28be004d4
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice02.lua	Sun Sep 22 17:37:57 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice02.lua	Sun Sep 22 18:34:53 2013 +0300
@@ -114,6 +114,8 @@
 function onNewTurn()
 	if not hero.dead and CurrentHedgehog == ally.gear and challengeStarted then
 		heroLost()
+	elseif not hero.dead and CurrentHedgehog == hero.gear and challengeStarted then
+		ParseCommand("setweap " .. string.char(amJetpack))
 	end
 end