equal
deleted
inserted
replaced
95 end |
95 end |
96 |
96 |
97 function onGearDelete(gear) |
97 function onGearDelete(gear) |
98 if not started then |
98 if not started then |
99 return |
99 return |
|
100 end |
100 if (GetGearType(gear) == gtHedgehog) and CurrentHedgehog ~= nil then |
101 if (GetGearType(gear) == gtHedgehog) and CurrentHedgehog ~= nil then |
101 local clan = GetHogClan(CurrentHedgehog) |
102 local clan = GetHogClan(CurrentHedgehog) |
102 local s = GetHogName(gear) .. " " .. loc(drowning) .. "|" .. loc(team) .. " " .. (clan + 1) .. " " |
103 local s = GetHogName(gear) .. " " .. loc(drowning) .. "|" .. loc(team) .. " " .. (clan + 1) .. " " |
103 if GetHogClan(CurrentHedgehog) ~= GetHogClan(gear) then |
104 if GetHogClan(CurrentHedgehog) ~= GetHogClan(gear) then |
104 score[clan] = score[clan] + 1 |
105 score[clan] = score[clan] + 1 |