Skip to content

Commit

Permalink
Another jani HUD runtime fix (ParadiseSS13#23569)
Browse files Browse the repository at this point in the history
  • Loading branch information
Henri215 authored Dec 16, 2023
1 parent 87a7e85 commit e6b2339
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/game/objects/effects/decals/cleanable.dm
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@

/obj/effect/decal/cleanable/Initialize(mapload)
. = ..()
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(try_merging_decal())
return TRUE
if(random_icon_states && length(src.random_icon_states) > 0)
Expand All @@ -96,10 +100,6 @@
QUEUE_SMOOTH_NEIGHBORS(src)
if(iswallturf(loc) && plane == FLOOR_PLANE)
plane = GAME_PLANE // so they can be seen above walls
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()

/obj/effect/decal/cleanable/Destroy()
if(smoothing_flags)
Expand Down

0 comments on commit e6b2339

Please sign in to comment.