Skip to content

Commit

Permalink
removes double chat call for death
Browse files Browse the repository at this point in the history
  • Loading branch information
GrrrKitten committed Jul 7, 2024
1 parent 45fcfeb commit 29d79b2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions code/modules/mob/death.dm
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,10 @@

/mob/proc/death(datum/cause_data/cause_data, gibbed = 0, deathmessage = "seizes up and falls limp...")
emote("me", message = "[deathmessage]")

if(stat == DEAD)
return 0

if(!gibbed)
visible_message("<b>\The [src.name]</b> [deathmessage]")

if(cause_data && !istype(cause_data))
stack_trace("death called with string cause ([cause_data]) instead of datum")
cause_data = create_cause_data(cause_data)
Expand Down

0 comments on commit 29d79b2

Please sign in to comment.