Skip to content

Commit 7b9b2d3

Browse files
authored
Admins can see everybody in lobby
1 parent be3e78a commit 7b9b2d3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

ZkLobbyServer/ZkLobbyServer.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,9 @@ public bool CanUserSee(ConnectedUser uWatcher, ConnectedUser uWatched)
212212
// admins always visible
213213
if (uWatched.User?.IsAdmin == true) return true;
214214

215+
// admins see everybody
216+
if (uWatcher.User?.IsAdmin == true) return true;
217+
215218
// friends see each other
216219
if (uWatcher.FriendNames.Contains(uWatched.Name)) return true;
217220

0 commit comments

Comments
 (0)