Added automatic crew transfer votes.

This commit is contained in:
cib
2012-07-07 18:58:58 +02:00
parent 418818bf9c
commit 65fb51b7fa
3 changed files with 45 additions and 0 deletions
+8
View File
@@ -358,3 +358,11 @@ It's fairly easy to fix if dealing with single letters but not so much with comp
else
I.loc = get_turf(src)
update_clothing()
/mob/proc/is_player_active()
if(!src.client) return 0
if(src.client.inactivity > 10 * 60 * 10) return 0
if(src.stat == 2) return 0
return 1