From e9c8f5ed8cf36db38249fd3b1e5366b04af59cf9 Mon Sep 17 00:00:00 2001 From: Charlie Nolan Date: Wed, 5 Feb 2025 10:25:20 -0800 Subject: [PATCH] move_towards the right spot (#28242) --- code/controllers/subsystem/movement/movement_types.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/subsystem/movement/movement_types.dm b/code/controllers/subsystem/movement/movement_types.dm index 20b34735b60..308aeb7ec80 100644 --- a/code/controllers/subsystem/movement/movement_types.dm +++ b/code/controllers/subsystem/movement/movement_types.dm @@ -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()