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
This commit is contained in:
deathride58
2017-07-18 01:50:52 -04:00
committed by kevinz000
parent df1d5fbc71
commit d21260d480
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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()
+1 -1
View File
@@ -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)