share/hedgewars/Data/Missions/Training/Basic_Training_-_Rope.lua
changeset 7838 5c2337f8dbb2
parent 7827 353d90ddc188
child 8043 da083f8d95e6
--- a/share/hedgewars/Data/Missions/Training/Basic_Training_-_Rope.lua	Sat Oct 27 14:50:38 2012 +0200
+++ b/share/hedgewars/Data/Missions/Training/Basic_Training_-_Rope.lua	Sat Oct 27 11:33:38 2012 -0400
@@ -112,7 +112,7 @@
 	Player = AddHog( loc( "Hunter" ), 0, 1, "StrawHat" ) -- Add a hog for it, and name it "Hunter"
 	SetGearPosition( Player, 420, 1750 ) -- Set player position
 
-	SetEffect( Player, heResurrectable, true ) -- By Suggestion :)
+	SetEffect( Player, heResurrectable, 1 ) -- By Suggestion :)
 end
 
 function onGameStart() -- Called when the game starts
@@ -134,7 +134,7 @@
 		Info(loc("Aiming Practice"), loc("You did not make it in time, try again!"), -amSkip )
 		SetHealth( Player, 0 ) -- Kill the player so he can't keep moving!
 
-		SetEffect( Player, heResurrectable, false )
+		SetEffect( Player, heResurrectable, 0 )
 
 	end
 
@@ -146,7 +146,7 @@
 			ParseCommand("teamgone " .. loc( "Rope Team" ))
 
 			--SetHealth( Player, 0 ) -- Kill the player so he can't keep moving!
-			--SetEffect( Player, heResurrectable, false )
+			--SetEffect( Player, heResurrectable, 0 )
 			TurnTimeLeft = 1
 
 			WaitTime = -1