share/hedgewars/Data/Maps/Basketball/map.lua
changeset 3257 fff80d469185
parent 3240 e3b52d10b4c2
child 3264 3cf9d915cdb9
--- 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) .. " "