share/hedgewars/Data/Missions/Challenge/Basic_Training_-_Sniper_Rifle.lua
changeset 14516 ff2c1f25fc03
parent 14501 208359558642
child 14547 797e3f441c14
--- a/share/hedgewars/Data/Missions/Challenge/Basic_Training_-_Sniper_Rifle.lua	Fri Dec 21 17:43:04 2018 +0100
+++ b/share/hedgewars/Data/Missions/Challenge/Basic_Training_-_Sniper_Rifle.lua	Fri Dec 21 17:47:54 2018 +0100
@@ -133,8 +133,7 @@
 	HealthDecrease = 0
 
 	-- Create the player team
-	AddMissionTeam(-1)
-	playerTeamName = GetTeamName(0)
+	playerTeamName = AddMissionTeam(-1)
 	-- And add a hog to it
 	player = AddMissionHog(1)
 	SetGearPosition(player, 602, 1465)