share/hedgewars/Data/Scripts/Multiplayer/Mutant.lua
changeset 13219 b229b3259a76
parent 13172 159004144897
child 13220 1c390781f72f
equal deleted inserted replaced
13218:d0647647a697 13219:b229b3259a76
   421             end
   421             end
   422         end
   422         end
   423     end
   423     end
   424 
   424 
   425     if gameOver then
   425     if gameOver then
   426         SendStat(siGraphTitle, loc("Score graph"))
       
   427 
       
   428         EndTurn(true)
   426         EndTurn(true)
   429 
   427 
   430         teamsSorted = {}
   428         teamsSorted = {}
   431  
   429  
   432         for i=0, TeamsCount-1 do
   430         for i=0, TeamsCount-1 do
   711     if GetGearType(gear) == gtHedgehog then
   709     if GetGearType(gear) == gtHedgehog then
   712         trackGear(gear)
   710         trackGear(gear)
   713         hhs[numhhs] = gear
   711         hhs[numhhs] = gear
   714         numhhs = numhhs + 1
   712         numhhs = numhhs + 1
   715         SetEffect(gear, heResurrectable, 1)
   713         SetEffect(gear, heResurrectable, 1)
       
   714     elseif GetGearType(gear) == gtATFinishGame then
       
   715         SendStat(siGraphTitle, loc("Score graph"))
   716     end
   716     end
   717 end
   717 end
   718 
   718 
   719 function checkEmptyTeam (teamName)
   719 function checkEmptyTeam (teamName)
   720     for i=0 , #hhs do
   720     for i=0 , #hhs do