Space Invasion: Remove incorrect gstWinner
authorWuzzy <Wuzzy2@mail.ru>
Mon, 13 May 2019 21:26:13 +0200
changeset 14950 f112847eb93e
parent 14949 4c5fb1ee75b7
child 14951 632538406573
Space Invasion: Remove incorrect gstWinner
share/hedgewars/Data/Scripts/Multiplayer/Space_Invasion.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/Space_Invasion.lua	Mon May 13 21:23:25 2019 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Space_Invasion.lua	Mon May 13 21:26:13 2019 +0200
@@ -578,11 +578,6 @@
 
 	if lGameOver then
 		local winnerTeam = teamStats[1].name
-		for i = 0, (SI.numhhs-1) do
-			if GetHogTeamName(SI.hhs[i]) == winnerTeam then
-				SetState(SI.hhs[i], bor(GetState(SI.hhs[i]), gstWinner))
-			end
-		end
 		AddCaption(string.format(loc("%s wins!"), winnerTeam), capcolDefault, capgrpGameState)
 		SendStat(siGameResult, string.format(loc("%s wins!"), winnerTeam))