mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-02-03 21:00:19 +00:00
Adds idle time check
This commit is contained in:
@@ -28,7 +28,7 @@ SUBSYSTEM_DEF(persist)
|
||||
while (currentrun.len)
|
||||
var/mob/M = currentrun[currentrun.len]
|
||||
currentrun.len--
|
||||
if (QDELETED(M) || !istype(M) || !M.mind || !M.client)
|
||||
if (QDELETED(M) || !istype(M) || !M.mind || !M.client || TICKS2DS(M.client.inactivity) > wait)
|
||||
continue
|
||||
|
||||
// Try and detect job and department of mob
|
||||
|
||||
Reference in New Issue
Block a user