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

summaryrefslogtreecommitdiff
path: root/source/game/StarWorldServerThread.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-07-20 05:35:06 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2024-07-20 05:35:06 +1000
commitf46d796253fff4fde6db8f399012ef16cbf7707f (patch)
treecc689d64e820909cfb5a75ec14073caa24fb7d37 /source/game/StarWorldServerThread.hpp
parent42c8933f554501932b648c7fbb086b75b9d4199c (diff)
Propagate client admin status to WorldServers
Diffstat (limited to 'source/game/StarWorldServerThread.hpp')
-rw-r--r--source/game/StarWorldServerThread.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarWorldServerThread.hpp b/source/game/StarWorldServerThread.hpp
index 265d0aa..ae1e666 100644
--- a/source/game/StarWorldServerThread.hpp
+++ b/source/game/StarWorldServerThread.hpp
@@ -38,7 +38,7 @@ public:
bool spawnTargetValid(SpawnTarget const& spawnTarget);
- bool addClient(ConnectionId clientId, SpawnTarget const& spawnTarget, bool isLocal);
+ bool addClient(ConnectionId clientId, SpawnTarget const& spawnTarget, bool isLocal, bool isAdmin = false);
// Returns final outgoing packets
List<PacketPtr> removeClient(ConnectionId clientId);