share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/moon02.lua
branchspacecampaign
changeset 9645 da7b4d8c181e
parent 9642 8a691e0f117a
child 9757 9be28be004d4
equal deleted inserted replaced
9644:4a19f25e86bf 9645:da7b4d8c181e
    97 			TurnTimeLeft = 0
    97 			TurnTimeLeft = 0
    98 		else
    98 		else
    99 			if GetAmmoCount(hero.gear, amRope) == 0  then
    99 			if GetAmmoCount(hero.gear, amRope) == 0  then
   100 				lose()
   100 				lose()
   101 			end
   101 			end
       
   102 			ParseCommand("setweap " .. string.char(amRope))
   102 			TurnTimeLeft = runner.places[currentPosition].turnTime + previousTimeLeft
   103 			TurnTimeLeft = runner.places[currentPosition].turnTime + previousTimeLeft
   103 			previousTimeLeft = 0
   104 			previousTimeLeft = 0
   104 		end
   105 		end
   105 	end
   106 	end
   106 end
   107 end