mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 07:33:34 +01:00
Fixing the mach speed closet (#25737)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user