From 0f23003c2fbb322f2b4c9aaa22d7113bca47286d Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Mon, 26 Jun 2017 15:59:25 -0500 Subject: [PATCH] Fixes the Hierophant's walls runtiming --- .../mob/living/simple_animal/hostile/megafauna/hierophant.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/hostile/megafauna/hierophant.dm b/code/modules/mob/living/simple_animal/hostile/megafauna/hierophant.dm index 6336c118f4..a6f3181ca7 100644 --- a/code/modules/mob/living/simple_animal/hostile/megafauna/hierophant.dm +++ b/code/modules/mob/living/simple_animal/hostile/megafauna/hierophant.dm @@ -350,7 +350,7 @@ Difficulty: Hard INVOKE_ASYNC(src, .proc/arena_squares, T, d) for(var/t in RANGE_TURFS(11, T)) if(t && get_dist(t, T) == 11) - new /obj/effect/temp_visual/hierophant/wall(t) + new /obj/effect/temp_visual/hierophant/wall(t, src) new /obj/effect/temp_visual/hierophant/blast(t, src, FALSE) if(get_dist(src, T) >= 11) //hey you're out of range I need to get closer to you! INVOKE_ASYNC(src, .proc/blink, T) @@ -469,6 +469,8 @@ Difficulty: Hard return ..() /obj/effect/temp_visual/hierophant/wall/CanPass(atom/movable/mover, turf/target, height = 0) + if(QDELETED(caster)) + return FALSE if(mover == caster.pulledby) return TRUE if(istype(mover, /obj/item/projectile))