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

summaryrefslogtreecommitdiff
path: root/source/game/StarWorldServerThread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/StarWorldServerThread.cpp')
-rw-r--r--source/game/StarWorldServerThread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/game/StarWorldServerThread.cpp b/source/game/StarWorldServerThread.cpp
index 1e1f51a..45959ea 100644
--- a/source/game/StarWorldServerThread.cpp
+++ b/source/game/StarWorldServerThread.cpp
@@ -66,10 +66,10 @@ bool WorldServerThread::spawnTargetValid(SpawnTarget const& spawnTarget) {
}
}
-bool WorldServerThread::addClient(ConnectionId clientId, SpawnTarget const& spawnTarget, bool isLocal, bool isAdmin) {
+bool WorldServerThread::addClient(ConnectionId clientId, SpawnTarget const& spawnTarget, bool isLocal, bool isAdmin, NetCompatibilityRules netRules) {
try {
RecursiveMutexLocker locker(m_mutex);
- if (m_worldServer->addClient(clientId, spawnTarget, isLocal, isAdmin)) {
+ if (m_worldServer->addClient(clientId, spawnTarget, isLocal, isAdmin, netRules)) {
m_clients.add(clientId);
return true;
}