From e21df570c71909d762dbd8ea21746d0586f2b5e7 Mon Sep 17 00:00:00 2001 From: Contrabang <91113370+Contrabang@users.noreply.github.com> Date: Wed, 18 Jan 2023 11:32:47 -0500 Subject: [PATCH] Fixes observers nullspacing themselves via quantum pads (#20222) * ghost no longer get nullspaced * sirryan review --- code/game/machinery/quantum_pad.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/machinery/quantum_pad.dm b/code/game/machinery/quantum_pad.dm index 68c9bb8c7de..31497c7d1ce 100644 --- a/code/game/machinery/quantum_pad.dm +++ b/code/game/machinery/quantum_pad.dm @@ -127,7 +127,7 @@ do_sparks(5, 1, get_turf(src)) /obj/machinery/quantumpad/attack_ghost(mob/dead/observer/ghost) - if(linked_pad) + if(!QDELETED(linked_pad)) ghost.forceMove(get_turf(linked_pad)) /obj/machinery/quantumpad/proc/doteleport(mob/user)