🆑 Eskjjlj (#41605)

fix: Cult structures no longer become intangible when unanchored.
/🆑

You can't move through unanchored emitters or even chemical grinders so there should be no reason you can move through unanchored cult structures.
That also fixes https://github.com/tgstation/tgstation/issues/41584
This commit is contained in:
Eskjjlj
2018-11-21 11:14:07 -05:00
committed by Joan Lung
parent c73cf825be
commit 795b46fef8
@@ -57,7 +57,6 @@
/obj/structure/destructible/cult/attackby(obj/I, mob/user, params)
if(istype(I, /obj/item/melee/cultblade/dagger) && iscultist(user))
anchored = !anchored
density = !density
to_chat(user, "<span class='notice'>You [anchored ? "":"un"]secure \the [src] [anchored ? "to":"from"] the floor.</span>")
if(!anchored)
icon_state = "[initial(icon_state)]_off"