--- a/share/hedgewars/Data/Missions/Training/Basic_Training_-_Rope.lua Thu Jun 12 20:47:11 2014 +0200
+++ b/share/hedgewars/Data/Missions/Training/Basic_Training_-_Rope.lua Thu Jun 12 21:25:39 2014 +0200
@@ -125,7 +125,7 @@
end
function onNewTurn()
- ParseCommand( "setweap " .. string.char( amRope ) ) -- Set the default weapon to Rope
+ SetWeapon(amRope) -- Set the default weapon to Rope
end
function onGameTick20()
@@ -143,7 +143,7 @@
-- in either case, end the game
if (Objective == true) or (GameLost == true) then
if (WaitTime == 0) then
- ParseCommand("teamgone " .. loc( "Rope Team" ))
+ DismissTeam(loc( "Rope Team" ))
--SetHealth( Player, 0 ) -- Kill the player so he can't keep moving!
--SetEffect( Player, heResurrectable, 0 )