From 9247ab8e2fb14ddd782ffaa41d5844f99b5caafb Mon Sep 17 00:00:00 2001 From: Aura Dusklight <46622484+NovaDusklight@users.noreply.github.com> Date: Fri, 20 Mar 2026 21:26:43 +0200 Subject: [PATCH] Fix diagonal movement of bots near walls (#19317) --- code/modules/mob/living/bot/bot.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/bot/bot.dm b/code/modules/mob/living/bot/bot.dm index a58f9769d3..3af19c5dbc 100644 --- a/code/modules/mob/living/bot/bot.dm +++ b/code/modules/mob/living/bot/bot.dm @@ -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)