Don't kick admin observers for inactivity. They might be waiting for ahelps.

This commit is contained in:
Leshana
2018-04-02 22:48:00 -04:00
parent 88c4ca0246
commit 9634cf04ce

View File

@@ -6,7 +6,7 @@
if(config.kick_inactive)
for(last_object in clients)
var/client/C = last_object
if(C.is_afk(config.kick_inactive MINUTES))
if(C.is_afk(config.kick_inactive MINUTES) && !C.holder) // VOREStation Edit - Allow admins to idle
to_chat(C,"<span class='warning'>You have been inactive for more than [config.kick_inactive] minute\s and have been disconnected.</span>")
var/information