summaryrefslogtreecommitdiffstats
path: root/src/Scoreboard.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-03-06 13:24:28 +0100
committermadmaxoft <github@xoft.cz>2014-03-06 13:24:28 +0100
commit3e80e636653274d138c1c5c6551e81a267b4d467 (patch)
tree821b710200bdccbd68386a34b83a425f15ee9b7d /src/Scoreboard.cpp
parentMerge pull request #747 from mc-server/InfoDump_Github (diff)
parentImplemented vanilla-like fluid simulator (diff)
downloadcuberite-3e80e636653274d138c1c5c6551e81a267b4d467.tar
cuberite-3e80e636653274d138c1c5c6551e81a267b4d467.tar.gz
cuberite-3e80e636653274d138c1c5c6551e81a267b4d467.tar.bz2
cuberite-3e80e636653274d138c1c5c6551e81a267b4d467.tar.lz
cuberite-3e80e636653274d138c1c5c6551e81a267b4d467.tar.xz
cuberite-3e80e636653274d138c1c5c6551e81a267b4d467.tar.zst
cuberite-3e80e636653274d138c1c5c6551e81a267b4d467.zip
Diffstat (limited to 'src/Scoreboard.cpp')
-rw-r--r--src/Scoreboard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Scoreboard.cpp b/src/Scoreboard.cpp
index c1da27086..8088e624b 100644
--- a/src/Scoreboard.cpp
+++ b/src/Scoreboard.cpp
@@ -506,7 +506,7 @@ bool cScoreboard::ForEachObjective(cObjectiveCallback& a_Callback)
bool cScoreboard::ForEachTeam(cTeamCallback& a_Callback)
{
- cCSLock Lock(m_CSObjectives);
+ cCSLock Lock(m_CSTeams);
for (cTeamMap::iterator it = m_Teams.begin(); it != m_Teams.end(); ++it)
{