share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/moon02.lua
changeset 10289 c3a77ff02a23
parent 9772 30a9e740ec09
child 11492 806da449d355
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/moon02.lua	Thu Jun 12 19:40:45 2014 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/moon02.lua	Thu Jun 12 20:47:11 2014 +0200
@@ -98,7 +98,7 @@
 			if GetAmmoCount(hero.gear, amRope) == 0  then
 				lose()
 			end
-			ParseCommand("setweap " .. string.char(amRope))
+			SetWeapon(amRope)
 			TurnTimeLeft = runner.places[currentPosition].turnTime + previousTimeLeft
 			previousTimeLeft = 0
 		end