Veil shifter checks for anchored items

This commit is contained in:
adrermail@gmail.com
2023-06-17 16:50:25 +02:00
parent bc378f010c
commit f93f0519e5
+3 -2
View File
@@ -338,8 +338,9 @@
if(C.pulling)
var/atom/movable/pulled = C.pulling
var/turf/turf_behind = get_turf(get_step(T, turn(C.dir, 180)))
pulled.forceMove(turf_behind)
. = pulled
if(!pulled.anchored)
pulled.forceMove(turf_behind)
. = pulled
/obj/item/cult_shift/attack_self(mob/user)