share/hedgewars/Data/Scripts/Multiplayer/Mutant.lua
changeset 13219 b229b3259a76
parent 13172 159004144897
child 13220 1c390781f72f
--- a/share/hedgewars/Data/Scripts/Multiplayer/Mutant.lua	Thu Mar 15 15:34:29 2018 +0100
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Mutant.lua	Thu Mar 15 15:49:17 2018 +0100
@@ -423,8 +423,6 @@
     end
 
     if gameOver then
-        SendStat(siGraphTitle, loc("Score graph"))
-
         EndTurn(true)
 
         teamsSorted = {}
@@ -713,6 +711,8 @@
         hhs[numhhs] = gear
         numhhs = numhhs + 1
         SetEffect(gear, heResurrectable, 1)
+    elseif GetGearType(gear) == gtATFinishGame then
+        SendStat(siGraphTitle, loc("Score graph"))
     end
 end