Skip to content

Commit

Permalink
move_towards the right spot (#28242)
Browse files Browse the repository at this point in the history
  • Loading branch information
FunnyMan3595 authored Feb 5, 2025
1 parent 37dfa54 commit e9c8f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/controllers/subsystem/movement/movement_types.dm
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@

/datum/move_loop/has_target/move_towards/proc/handle_move(source, atom/OldLoc, Dir, Forced = FALSE)
SIGNAL_HANDLER
if(moving.loc != moving_towards && home) //If we didn't go where we should have, update slope to account for the deviation
if(moving.loc == moving_towards && home) //If we didn't go where we should have, update slope to account for the deviation
update_slope()

/datum/move_loop/has_target/move_towards/handle_no_target()
Expand Down

0 comments on commit e9c8f5e

Please sign in to comment.