Improved OOC Manifest

This commit is contained in:
Kyep
2020-09-28 14:17:11 -07:00
parent de6ba54e7c
commit 275b46facb
2 changed files with 11 additions and 6 deletions
+10 -5
View File
@@ -35,12 +35,17 @@
var/rank = t.fields["rank"]
var/real_rank = t.fields["real_rank"]
if(OOC)
var/active = 0
for(var/mob/M in GLOB.player_list)
if(M.real_name == name && M.client && M.client.inactivity <= 10 * 60 * 10)
active = 1
var/activetext = "Inactive"
for(var/mob/M in GLOB.human_list)
if(M.real_name != name)
continue
if(M.client && M.client.inactivity <= 10 * 60 * 10)
activetext = "Active"
break
isactive[name] = active ? "Active" : "Inactive"
if(isLivingSSD(M))
activetext = "SSD"
break
isactive[name] = activetext
else
isactive[name] = t.fields["p_stat"]
var/department = 0