Made admins not be afk kicked

This commit is contained in:
ZomgPonies
2013-09-10 15:10:37 -04:00
parent b3aadbf02e
commit 7f7e18dfff
+1 -1
View File
@@ -178,7 +178,7 @@
while(1)
sleep(INACTIVITY_KICK)
for(var/client/C in clients)
if(C.is_afk(INACTIVITY_KICK))
if(C.is_afk(INACTIVITY_KICK) && !istype(C,/datum/admins))
if(!istype(C.mob, /mob/dead))
log_access("AFK: [key_name(C)]")
C << "\red You have been inactive for more than 10 minutes and have been disconnected."