Merge pull request #1095 from EmperorJon/27_Feb._AFK

Adds a timer to staffwho AFK notifications.
This commit is contained in:
Neerti
2016-02-28 07:13:56 -05:00
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()