Fixes some stealth mode bypasses (#18725)

* Fixes some stealth mode bypasses

* damn
This commit is contained in:
AffectedArc07
2022-08-06 15:37:38 +01:00
committed by GitHub
parent 3e81e584a0
commit 96cbbf3cb0
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -89,6 +89,9 @@
var/missing_ages = 0
var/msg = ""
for(var/client/C in GLOB.clients)
if(C?.holder?.fakekey && !check_rights(R_ADMIN, FALSE))
continue // Skip those in stealth mode if an admin isnt viewing the panel
if(C.player_age == "Requires database")
missing_ages = 1
continue