Adds a timer to staffwho AFK notifications.

This commit is contained in:
Jon
2016-02-27 21:57:40 +00:00
parent c7e9acbdad
commit f20713e668
2 changed files with 15 additions and 3 deletions

View File

@@ -281,6 +281,9 @@
if(inactivity > duration) return inactivity
return 0
/client/proc/last_activity_seconds()
return inactivity / 10
//send resources to the client. It's here in its own proc so we can move it around easiliy if need be
/client/proc/send_resources()