This commit is contained in:
Zuhayr
2014-09-25 17:59:28 +09:30
parent 9ad3be38c6
commit 4e6afd282c

View File

@@ -110,7 +110,7 @@
if(byond_version < MIN_CLIENT_VERSION) //Out of date client.
return null
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