summaryrefslogtreecommitdiffstats
path: root/src/DeadlockDetect.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-05-06 21:15:19 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-05-06 21:15:19 +0200
commit696a7bc52e9b029b627feee76eaf5e1239417033 (patch)
treeac3e5152dd6e7eb2a9420daad8df3bb2560d544f /src/DeadlockDetect.cpp
parentSuggestions'd #2 (diff)
parentMerge pull request #978 from mc-server/VectorAssignmentOperator (diff)
downloadcuberite-696a7bc52e9b029b627feee76eaf5e1239417033.tar
cuberite-696a7bc52e9b029b627feee76eaf5e1239417033.tar.gz
cuberite-696a7bc52e9b029b627feee76eaf5e1239417033.tar.bz2
cuberite-696a7bc52e9b029b627feee76eaf5e1239417033.tar.lz
cuberite-696a7bc52e9b029b627feee76eaf5e1239417033.tar.xz
cuberite-696a7bc52e9b029b627feee76eaf5e1239417033.tar.zst
cuberite-696a7bc52e9b029b627feee76eaf5e1239417033.zip
Diffstat (limited to 'src/DeadlockDetect.cpp')
-rw-r--r--src/DeadlockDetect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DeadlockDetect.cpp b/src/DeadlockDetect.cpp
index 38a3c369e..f73a45555 100644
--- a/src/DeadlockDetect.cpp
+++ b/src/DeadlockDetect.cpp
@@ -109,7 +109,7 @@ void cDeadlockDetect::CheckWorldAge(const AString & a_WorldName, Int64 a_Age)
WorldAges::iterator itr = m_WorldAges.find(a_WorldName);
if (itr == m_WorldAges.end())
{
- ASSERT(!"Unknown world in cDeadlockDetect");
+ SetWorldAge(a_WorldName, a_Age);
return;
}