Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarCelestialDatabase.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-07-20 17:53:57 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-07-20 17:53:57 +1000
commitd0307e7aa77ddc8d15b6d1e036e563f3c9150287 (patch)
tree32e81377a48fd6821bedfc1d41bfab82e7951275 /source/game/StarCelestialDatabase.cpp
parent5f86e0f027fe55004f835774db6b1d9b8d91ddd1 (diff)
Add celestial callbacks to UniverseClient scripts
Diffstat (limited to 'source/game/StarCelestialDatabase.cpp')
-rw-r--r--source/game/StarCelestialDatabase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarCelestialDatabase.cpp b/source/game/StarCelestialDatabase.cpp
index ac9f14f..d5ba7df 100644
--- a/source/game/StarCelestialDatabase.cpp
+++ b/source/game/StarCelestialDatabase.cpp
@@ -207,7 +207,7 @@ bool CelestialMasterDatabase::coordinateValid(CelestialCoordinate const& coordin
Maybe<CelestialCoordinate> CelestialMasterDatabase::findRandomWorld(unsigned tries, unsigned trySpatialRange,
function<bool(CelestialCoordinate)> filter, Maybe<uint64_t> seed) {
//RecursiveMutexLocker locker(m_mutex);
- // We don't need this mutex, the other calls are locking anyway.
+ // We don't need this lock, the other calls are locking anyway.
// Having this here is just stopping other threads from having a go in here until we've found a world.
RandomSource randSource;
if (seed)