Fixes a bunch of runtimes (#27363)

* hjnbujihbhuji

* uioybgyub

* Fixes a bunch of crunchy runtimes
This commit is contained in:
Contrabang
2024-11-15 06:22:09 -05:00
committed by GitHub
parent 8e4732922a
commit 975d9ed8e3
6 changed files with 15 additions and 5 deletions
@@ -71,7 +71,7 @@
else
animate_levitate(src, -1, rand(30,120))
if(weightless_image.icon_state)
if(weightless_image && weightless_image.icon_state)
icon_state = weightless_image.icon_state
overlays -= weightless_image
@@ -87,10 +87,10 @@
/obj/effect/decal/cleanable/Initialize(mapload)
. = ..()
prepare_huds()
if(should_merge_decal(loc))
return INITIALIZE_HINT_QDEL
var/datum/atom_hud/data/janitor/jani_hud = GLOB.huds[DATA_HUD_JANITOR]
prepare_huds()
jani_hud.add_to_hud(src)
jani_hud_set_sign()
if(random_icon_states && length(src.random_icon_states) > 0)