Skip to content

Commit

Permalink
bugfix(sounds): ugly drop sounds are no longer played on rejuv/gib
Browse files Browse the repository at this point in the history
  • Loading branch information
Filatelele authored Mar 13, 2024
1 parent 81a27a0 commit ebfb0e2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/modules/mob/organs/organ.dm
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ var/list/organ_cache = list()
owner = null
dna = null
QDEL_NULL(food_organ)

if(ismob(loc))
var/mob/M = loc
M.drop(src, force = TRUE, changing_slots = TRUE) // Changing_slots prevents drop_sound from playing

return ..()

/obj/item/organ/proc/update_health()
Expand Down

0 comments on commit ebfb0e2

Please sign in to comment.