@@ -955,7 +955,7 @@ function resetObjectives()
955955 local objectiveCount = # objectives
956956 if (objectiveCount > 0 ) then
957957 -- outputDebugString(objectiveCount .. " objectives total")---
958- -- create objective
958+ -- create objective
959959 math.randomseed (getTickCount ())
960960 if (not settings .teams ) then
961961 local objectiveIndex = math.random (1 , objectiveCount )
@@ -978,7 +978,7 @@ function resetObjectives()
978978 teamObjectives [v ] = Objective :new ({x = x , y = y , z = z , team = v })
979979 end
980980 end
981- return true
981+ return true
982982 else
983983 outputChatBox (" Error: no objectives" )
984984 return false
@@ -991,7 +991,7 @@ function addObjectiveForTeam(team)
991991 local objectiveCount = # objectives
992992 if (objectiveCount > 0 ) then
993993 -- outputDebugString(objectiveCount .. " objectives total")---
994- -- create objective
994+ -- create objective
995995 math.randomseed (getTickCount ())
996996 local objectiveIndex = math.random (1 , objectiveCount )
997997 -- outputDebugString("objective " .. objectiveIndex .. " chosen")---
@@ -1001,7 +1001,7 @@ function addObjectiveForTeam(team)
10011001 local z = tonumber (getElementData (objectiveElem , " posZ" ))
10021002 -- outputDebugString("objective: " .. x .. " " .. y .. " " .. z)---
10031003 teamObjectives [team ] = Objective :new ({x = x , y = y , z = z , team = team })
1004- return true
1004+ return true
10051005 else
10061006 outputChatBox (" Error: no objectives" )
10071007 return false
0 commit comments