From 56d5e93727f41eb885f57404025917965901cdce Mon Sep 17 00:00:00 2001 From: Kyep Date: Tue, 29 Sep 2020 16:41:49 -0700 Subject: [PATCH] Steel Suggestions --- code/datums/datacore.dm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/code/datums/datacore.dm b/code/datums/datacore.dm index 30749a42e5c..2bcd24bdf95 100644 --- a/code/datums/datacore.dm +++ b/code/datums/datacore.dm @@ -36,13 +36,14 @@ var/real_rank = t.fields["real_rank"] if(OOC) var/activetext = "Inactive" - for(var/mob/M in GLOB.human_list) - if(M.real_name != name) + for(var/thing in GLOB.human_list) + var/mob/living/carbon/human/H = thing + if(H.real_name != name) continue - if(M.client && M.client.inactivity <= 10 * 60 * 10) + if(H.client && H.client.inactivity <= 6000) activetext = "Active" break - if(isLivingSSD(M)) + if(isLivingSSD(H)) activetext = "SSD" break isactive[name] = activetext