Skip to content

Commit 2d68470

Browse files
committed
Addendum to 49d3259
1 parent 49d3259 commit 2d68470

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

[gamemodes]/[briefcaserace]/briefcaserace/server/br.server.game.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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

[gamemodes]/[briefcaserace]/briefcaserace/server/br.server.main.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ function forceScoreboardForAllPlayers ( status )
161161
local scoreboardResource = getResourceFromName ( "scoreboard" )
162162
if ( scoreboardResource and getResourceState ( scoreboardResource ) == "running" ) then
163163
for i,v in ipairs ( getElementsByType ( "player" ) ) do
164-
call ( scoreboardResource, "setPlayerScoreboardForced", v, status )
164+
call ( scoreboardResource, "setPlayerScoreboardForced", v, status )
165165
end
166166
return true
167167
else

0 commit comments

Comments
 (0)