From 2a8360db1a0933cd6dbee1b1ca89fcee9abe45b3 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Mon, 5 Jul 2021 17:00:58 +0200 Subject: [PATCH] [MIRROR] hierophant club dash now doesnt work on blocked turfs (#6720) * hiero dash now doesnt work on blocked turfs (#59983) * hierophant club dash now doesnt work on blocked turfs Co-authored-by: Fikou --- code/modules/mining/lavaland/necropolis_chests.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/mining/lavaland/necropolis_chests.dm b/code/modules/mining/lavaland/necropolis_chests.dm index d8c6628e868..31bab3e9daa 100644 --- a/code/modules/mining/lavaland/necropolis_chests.dm +++ b/code/modules/mining/lavaland/necropolis_chests.dm @@ -1127,7 +1127,10 @@ if(dist > HIEROPHANT_BLINK_RANGE) to_chat(user, span_hierophant_warning("Blink destination out of range.")) return - + var/turf/target_turf = get_turf(target) + if(target_turf.is_blocked_turf_ignore_climbable()) + to_chat(user, span_hierophant_warning("Blink destination blocked.")) + return . = ..() if(!current_charges)