share/hedgewars/Data/Maps/Knockball/map.lua
changeset 3257 fff80d469185
parent 3240 e3b52d10b4c2
child 3263 fd1588933051
equal deleted inserted replaced
3256:b4fd1d197621 3257:fff80d469185
    87 end
    87 end
    88 
    88 
    89 function onGearDelete(gear)
    89 function onGearDelete(gear)
    90 	if not started then
    90 	if not started then
    91 		return
    91 		return
       
    92 	end
    92 	if gear == ball then
    93 	if gear == ball then
    93 		ball = nil
    94 		ball = nil
    94 	elseif (GetGearType(gear) == gtHedgehog) and CurrentHedgehog ~= nil then
    95 	elseif (GetGearType(gear) == gtHedgehog) and CurrentHedgehog ~= nil then
    95 		local clan = GetHogClan(CurrentHedgehog)
    96 		local clan = GetHogClan(CurrentHedgehog)
    96 		local s
    97 		local s