From b10dd15a2fb9ee0700abd79a01bb67f604426275 Mon Sep 17 00:00:00 2001 From: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> Date: Sat, 6 Jan 2024 16:49:43 -0500 Subject: [PATCH] oops (#23631) --- .../mob/living/simple_animal/hostile/megafauna/ancient_robot.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/mob/living/simple_animal/hostile/megafauna/ancient_robot.dm b/code/modules/mob/living/simple_animal/hostile/megafauna/ancient_robot.dm index b11bf9f1d40..e1e4d06f04d 100644 --- a/code/modules/mob/living/simple_animal/hostile/megafauna/ancient_robot.dm +++ b/code/modules/mob/living/simple_animal/hostile/megafauna/ancient_robot.dm @@ -256,6 +256,8 @@ Difficulty: Hard /mob/living/simple_animal/hostile/megafauna/ancient_robot/proc/charge(atom/chargeat = target, delay = 5, chargepast = 2) if(!chargeat) return + if(chargeat.z != z) + return if(mode == BLUESPACE || (enraged && prob(13))) new /obj/effect/temp_visual/bsg_kaboom(get_turf(src)) src.visible_message("[src] teleports somewhere nearby!")