mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Fixes GUEST_BAN config not working (#9950)
This commit is contained in:
@@ -145,7 +145,7 @@
|
||||
spawn(5 SECONDS)
|
||||
del(src)
|
||||
|
||||
if(IsGuestKey(key))
|
||||
if(!guests_allowed && IsGuestKey(key))
|
||||
alert(src,"This server doesn't allow guest accounts to play. Please go to http://www.byond.com/ and register for a key.","Guest","OK")
|
||||
del(src)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user