--- a/share/hedgewars/Data/Maps/Basketball/map.lua Fri Apr 02 15:50:54 2010 +0000
+++ b/share/hedgewars/Data/Maps/Basketball/map.lua Fri Apr 02 15:53:58 2010 +0000
@@ -97,6 +97,7 @@
function onGearDelete(gear)
if not started then
return
+ end
if (GetGearType(gear) == gtHedgehog) and CurrentHedgehog ~= nil then
local clan = GetHogClan(CurrentHedgehog)
local s = GetHogName(gear) .. " " .. loc(drowning) .. "|" .. loc(team) .. " " .. (clan + 1) .. " "
--- a/share/hedgewars/Data/Maps/Knockball/map.lua Fri Apr 02 15:50:54 2010 +0000
+++ b/share/hedgewars/Data/Maps/Knockball/map.lua Fri Apr 02 15:53:58 2010 +0000
@@ -89,6 +89,7 @@
function onGearDelete(gear)
if not started then
return
+ end
if gear == ball then
ball = nil
elseif (GetGearType(gear) == gtHedgehog) and CurrentHedgehog ~= nil then