Maps:
authorsmxx
Fri, 02 Apr 2010 15:53:58 +0000
changeset 3257 fff80d469185
parent 3256 b4fd1d197621
child 3258 3fc081d348fe
Maps: * Added two missing 'end' statements in mission scripts
share/hedgewars/Data/Maps/Basketball/map.lua
share/hedgewars/Data/Maps/Knockball/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) .. " "
--- 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