Skip to content

Commit

Permalink
Fixes gibber not killing mobs
Browse files Browse the repository at this point in the history
  • Loading branch information
DOOM authored and DOOM committed May 25, 2024
1 parent 9ee9614 commit 6d51621
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions code/game/machinery/kitchen/gibber.dm
Original file line number Diff line number Diff line change
Expand Up @@ -262,13 +262,12 @@
occupant.death(create_cause_data("gibber", user), TRUE)
occupant.ghostize()

addtimer(CALLBACK(src, PROC_REF(create_gibs), totalslabs, allmeat), gibtime)
if(synthetic)
to_chat(occupant, SPAN_HIGHDANGER("You can detect your limbs being ripped off your body, but it begins to malfunction as it reaches your torso!"))
addtimer(CALLBACK(src, PROC_REF(create_gibs), totalslabs, allmeat), gibtime)
addtimer(CALLBACK(src, PROC_REF(go_out), TRUE), gibtime)
return

QDEL_NULL(occupant)
else
QDEL_NULL(occupant)

/obj/structure/machinery/gibber/proc/create_gibs(totalslabs, list/obj/item/reagent_container/food/snacks/allmeat)
playsound(loc, 'sound/effects/splat.ogg', 25, 1)
Expand Down

0 comments on commit 6d51621

Please sign in to comment.