share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/moon02.lua
changeset 10289 c3a77ff02a23
parent 9772 30a9e740ec09
child 11492 806da449d355
equal deleted inserted replaced
10288:7bf02127262c 10289:c3a77ff02a23
    96 			TurnTimeLeft = 0
    96 			TurnTimeLeft = 0
    97 		else
    97 		else
    98 			if GetAmmoCount(hero.gear, amRope) == 0  then
    98 			if GetAmmoCount(hero.gear, amRope) == 0  then
    99 				lose()
    99 				lose()
   100 			end
   100 			end
   101 			ParseCommand("setweap " .. string.char(amRope))
   101 			SetWeapon(amRope)
   102 			TurnTimeLeft = runner.places[currentPosition].turnTime + previousTimeLeft
   102 			TurnTimeLeft = runner.places[currentPosition].turnTime + previousTimeLeft
   103 			previousTimeLeft = 0
   103 			previousTimeLeft = 0
   104 		end
   104 		end
   105 	end
   105 	end
   106 end
   106 end