Space Invasion: Add hilarious loser face to losers
authorWuzzy <Wuzzy2@mail.ru>
Tue, 28 Aug 2018 06:04:02 +0200
changeset 13711 d5f12b1d180d
parent 13710 0da36902e5b6
child 13712 e241c9efd217
Space Invasion: Add hilarious loser face to losers
share/hedgewars/Data/Scripts/Multiplayer/Space_Invasion.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/Space_Invasion.lua	Tue Aug 28 05:46:33 2018 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Space_Invasion.lua	Tue Aug 28 06:04:02 2018 +0200
@@ -724,6 +724,8 @@
 			if GetHogClan(SI.hhs[i]) ~= bestClan then
 				SetEffect(SI.hhs[i], heResurrectable, 0)
 				SetHealth(SI.hhs[i],0)
+				-- hilarious loser face
+				SetState(SI.hhs[i], bor(GetState(SI.hhs[i]), gstLoser))
 			end
 		end