Skip to content

Commit

Permalink
bugfix: Fakedeath Removes Sleeping Overlay (#5403)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gottfrei authored Jul 10, 2024
1 parent 47f8a18 commit 237c144
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion code/__DEFINES/logs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#define INVESTIGATE_RESEARCH "research"
#define INVESTIGATE_SYNDIE_CARGO "syndicate_cargo"
#define INVESTIGATE_WIRES "wires"
#define INVESTIGATE_DEATHS "deaths"

//This is an external call, "true" and "false" are how rust parses out booleans
#define WRITE_LOG(log, text) rustg_log_write(log, text, "true")
Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/update_icons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1331,7 +1331,7 @@ GLOBAL_LIST_EMPTY(damage_icon_parts)


/mob/living/carbon/human/update_unconscious_overlay()
if(stat == UNCONSCIOUS)
if(stat == UNCONSCIOUS && !HAS_TRAIT(src, TRAIT_FAKEDEATH))
var/mutable_appearance/sleep_effect = mutable_appearance('icons/effects/effects.dmi', "sleep", -SLEEP_LAYER, appearance_flags = KEEP_APART|RESET_TRANSFORM|RESET_COLOR)
sleep_effect.pixel_z = 8
overlays_standing[SLEEP_LAYER] = sleep_effect
Expand Down

0 comments on commit 237c144

Please sign in to comment.