share/hedgewars/Data/Missions/Scenario/User_Mission_-_Teamwork.lua
changeset 14516 ff2c1f25fc03
parent 14503 d4aa64f51c9f
child 14953 ff4003a90ff8
--- a/share/hedgewars/Data/Missions/Scenario/User_Mission_-_Teamwork.lua	Fri Dec 21 17:43:04 2018 +0100
+++ b/share/hedgewars/Data/Missions/Scenario/User_Mission_-_Teamwork.lua	Fri Dec 21 17:47:54 2018 +0100
@@ -24,8 +24,7 @@
 	HealthDecrease = 0
 	WaterRise = 0
 
-	local idx = AddMissionTeam(-1)
-	playerTeamName = GetTeamName(idx)
+	playerTeamName = AddMissionTeam(-1)
 	player = AddMissionHog(50)
 	p2 = AddMissionHog(20)