Skip to content

Commit

Permalink
Xenos can instantly pull items during Quickbuild phase (#16785)
Browse files Browse the repository at this point in the history
  • Loading branch information
Runian authored Dec 6, 2024
1 parent df84e1f commit f83db7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/xenomorph/xenomorph.dm
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@
return FALSE //Incorporeal things can't grab or be grabbed.
if(AM.anchored)
return FALSE //We cannot grab anchored items.
if(!isliving(AM) && AM.drag_windup && !do_after(src, AM.drag_windup, NONE, AM, BUSY_ICON_HOSTILE, BUSY_ICON_HOSTILE, extra_checks = CALLBACK(src, TYPE_PROC_REF(/mob, break_do_after_checks), list("health" = src.health))))
if(!isliving(AM) && !SSresinshaping.active && AM.drag_windup && !do_after(src, AM.drag_windup, NONE, AM, BUSY_ICON_HOSTILE, BUSY_ICON_HOSTILE, extra_checks = CALLBACK(src, TYPE_PROC_REF(/mob, break_do_after_checks), list("health" = src.health))))
return //If the target is not a living mob and has a drag_windup defined, calls a do_after. If all conditions are met, it returns. If the user takes damage during the windup, it breaks the channel.
var/mob/living/L = AM
if(L.buckled)
Expand Down

0 comments on commit f83db7a

Please sign in to comment.