Skip to content

Commit

Permalink
Fixing the mach speed closet (ParadiseSS13#25737)
Browse files Browse the repository at this point in the history
  • Loading branch information
BiancaWilkson authored Jun 1, 2024
1 parent 4466c5d commit c876b64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/modules/mob/mob_movement.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c876b64

Please sign in to comment.