Fix diagonal movement of bots near walls (#19317)

This commit is contained in:
Aura Dusklight
2026-03-20 21:26:43 +02:00
committed by GitHub
parent 236cf1f4ed
commit 9247ab8e2f
+1 -1
View File
@@ -433,7 +433,7 @@
for(var/dir_to_check in GLOB.alldirs) // Cardinals first.
var/turf/T = get_step(src, dir_to_check)
if(!T || !T.Adjacent(src))
if(!T || T.density || !T.Adjacent(src))
continue
if(!LinkBlockedWithAccess(src, T, ID))
L.Add(T)