From d21260d48096f578a7f5decb86c85c28f35de593 Mon Sep 17 00:00:00 2001 From: deathride58 Date: Tue, 18 Jul 2017 01:50:52 -0400 Subject: [PATCH] Makes arousal meter invisible when arousal is disabled (#2028) * makes arousal meter invisible when arousal is disabled * sets the appearance of the arousal meter when the hud is generated * hm * hopefully fixed * cmon * okay NOW it works. it 100% works --- code/_onclick/hud/human.dm | 1 + code/citadel/cit_arousal.dm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/code/_onclick/hud/human.dm b/code/_onclick/hud/human.dm index ecb13d8a9b..baf233f724 100644 --- a/code/_onclick/hud/human.dm +++ b/code/_onclick/hud/human.dm @@ -282,6 +282,7 @@ //citadel code arousal = new /obj/screen/arousal() + arousal.icon_state = (owner.canbearoused == 1 ? "arousal0" : "") infodisplay += arousal healthdoll = new /obj/screen/healthdoll() diff --git a/code/citadel/cit_arousal.dm b/code/citadel/cit_arousal.dm index a69411f32b..12245c05d5 100644 --- a/code/citadel/cit_arousal.dm +++ b/code/citadel/cit_arousal.dm @@ -99,7 +99,7 @@ if(dna.species.update_arousal_hud()) return 0 if(!canbearoused) - hud_used.arousal.icon_state = "arousal0" + hud_used.arousal.icon_state = "" return 0 else if(hud_used.arousal)