share/hedgewars/Data/Maps/TrophyRace/map.lua
changeset 12622 07fdda8c13a2
parent 12388 0eb1457f7b94
child 12699 608db0fb90f0
equal deleted inserted replaced
12620:22bbf0392b71 12622:07fdda8c13a2
   166                 if worsthog ~= nil then
   166                 if worsthog ~= nil then
   167                     SetHealth(worsthog, 0)
   167                     SetHealth(worsthog, 0)
   168                     --Place a grenade to make inactive slowest hog active
   168                     --Place a grenade to make inactive slowest hog active
   169                     x, y = GetGearPosition(worsthog)
   169                     x, y = GetGearPosition(worsthog)
   170                     AddGear(x, y, gtShell, 0, 0, 0, 0)
   170                     AddGear(x, y, gtShell, 0, 0, 0, 0)
   171                     worsttime = 0
       
   172                     worsthog = nil
       
   173                 end
   171                 end
       
   172                 worsttime = 0
       
   173                 worsthog = nil
   174             end
   174             end
   175             
   175             
   176             for i=0, ClansCount -1 do
   176             for i=0, ClansCount -1 do
   177                 local tt = "" .. (clantimes[i] / 1000) .. " s"
   177                 local tt = "" .. (clantimes[i] / 1000) .. " s"
   178                 if clantimes[i] == 0 then
   178                 if clantimes[i] == 0 then