# HG changeset patch # User smxx # Date 1270223638 0 # Node ID fff80d4691852b78b45b3a9fd543e2a581d2fe63 # Parent b4fd1d197621b347b23d9fc7c800e97c7ed34b58 Maps: * Added two missing 'end' statements in mission scripts diff -r b4fd1d197621 -r fff80d469185 share/hedgewars/Data/Maps/Basketball/map.lua --- 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) .. " " diff -r b4fd1d197621 -r fff80d469185 share/hedgewars/Data/Maps/Knockball/map.lua --- 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