Fixes runtime in pathfinding (#96468)

## About The Pull Request

Obvious

## Why It's Good For The Game

<img width="532" height="112" alt="image"
src="https://github.com/user-attachments/assets/d4e82701-943c-4301-a301-2db53b135e5b"
/>

## Changelog
🆑

fix: fixed a runtime in pathfinding

/🆑
This commit is contained in:
Leland Kemble
2026-06-13 17:45:44 -04:00
committed by GitHub
parent f683666631
commit f75cff4b99
+1 -1
View File
@@ -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