mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-13 16:13:49 +01:00
Fix diagonal movement of bots near walls (#19317)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user