share/hedgewars/Data/Missions/Challenge/User_Mission_-_Rope_Knock_Challenge.lua
changeset 14505 764ba6182389
parent 14503 d4aa64f51c9f
child 14599 50f511588635
--- a/share/hedgewars/Data/Missions/Challenge/User_Mission_-_Rope_Knock_Challenge.lua	Thu Dec 20 18:23:13 2018 +0100
+++ b/share/hedgewars/Data/Missions/Challenge/User_Mission_-_Rope_Knock_Challenge.lua	Thu Dec 20 19:03:34 2018 +0100
@@ -73,7 +73,7 @@
 
 				}
 
-local playerTeam, playerTeamName
+local playerTeamName
 
 function GetKillScore()
 	return math.ceil((hogsKilled / 16)*6000)
@@ -174,8 +174,7 @@
 	MinesNum = 0
 	Explosives = 0
 
-	playerTeam = AddMissionTeam(-1)
-	playerTeamName = GetTeamName(playerName)
+	playerTeamName = AddMissionTeam(-1)
 	hhs[0] = AddMissionHog(1)
 	SetGearPosition(player, 1380, 1500)