Fixing the mach speed closet (#25737)

This commit is contained in:
BiancaWilkson
2024-05-31 21:26:35 -04:00
committed by GitHub
parent 4466c5d102
commit c876b64faa
+2
View File
@@ -362,6 +362,8 @@
return
if(!Process_Spacemove(get_dir(pulling.loc, A)))
return
if(src in pulling.contents)
return
var/target_turf = get_step(pulling, get_dir(pulling.loc, A))
if(get_dist(target_turf, loc) > 1) // Make sure the turf we are trying to pull to is adjacent to the user.
return // We do not use Adjacent() here because it checks if there are dense objects in the way, making it impossible to move an object to the side if we're blocked on both sides.