From 4d3c98b639bca2a69aefcb35615d5fb11266de62 Mon Sep 17 00:00:00 2001 From: Dip Date: Mon, 31 Aug 2020 21:29:46 -0300 Subject: [PATCH] Remove useless bit of code for status tab fix --- code/modules/mob/living/carbon/human/human.dm | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index 56888031..683ef1da 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -59,15 +59,12 @@ //...and display them. add_to_all_human_data_huds() -/var/tickrefreshThr2 = 20 -/var/tickrefresh2 = 0 /var/list/sList2 - /mob/living/carbon/human/Stat() ..() //Same thing from mob if(statpanel("Status")) - if(tickrefresh2 == 0) + if(tickrefresh == 1) sList2 = list() sList2 += "Intent: [a_intent]" sList2 += "Move Mode: [m_intent]" @@ -83,11 +80,6 @@ if(changeling) sList2 += "Chemical Storage: " + "[changeling.chem_charges]/[changeling.chem_storage]" sList2 += "Absorbed DNA: "+ "[changeling.absorbedcount]" - tickrefresh2++ - else if(tickrefresh2 >= tickrefreshThr2) - tickrefresh2 = 0 - else - tickrefresh2++ stat(null, "[sList2.Join("\n\n")]") //NINJACODE