Skip to content

Commit

Permalink
Fixes a runtime when inflicting a blunt wound on an armless human (#6…
Browse files Browse the repository at this point in the history
…8030)

fixes a runtime when inflicting a blunt wound on an armless human
  • Loading branch information
Y0SH1M4S73R committed Jun 28, 2022
1 parent 511aa8a commit 43d0911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/datums/status_effects/wound_effects.dm
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@
alert_type = NONE

/datum/status_effect/wound/on_creation(mob/living/new_owner, incoming_wound)
. = ..()
linked_wound = incoming_wound
linked_limb = linked_wound.limb
return ..()

/datum/status_effect/wound/on_remove()
linked_wound = null
Expand Down

0 comments on commit 43d0911

Please sign in to comment.