From f75cff4b994db4cfdec2f83bebf623c5dfdfc7fb Mon Sep 17 00:00:00 2001 From: Leland Kemble <70413276+lelandkemble@users.noreply.github.com> Date: Sat, 13 Jun 2026 17:45:44 -0400 Subject: [PATCH] Fixes runtime in pathfinding (#96468) ## About The Pull Request Obvious ## Why It's Good For The Game image ## Changelog :cl: fix: fixed a runtime in pathfinding /:cl: --- code/game/turfs/open/openspace.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/turfs/open/openspace.dm b/code/game/turfs/open/openspace.dm index 68c60752d4e..380d7bbf315 100644 --- a/code/game/turfs/open/openspace.dm +++ b/code/game/turfs/open/openspace.dm @@ -149,7 +149,7 @@ return FALSE /turf/open/openspace/CanAStarPass(to_dir, datum/can_pass_info/pass_info) - var/atom/movable/our_movable = pass_info.requester_ref.resolve() + var/atom/movable/our_movable = pass_info.requester_ref?.resolve() if(our_movable && !our_movable.can_z_move(DOWN, src, null, ZMOVE_FALL_FLAGS)) //If we can't fall here (flying/lattice), it's fine to path through return TRUE return FALSE