From 99ceffdad147e578d916f4f0f6aa050a3eae7a54 Mon Sep 17 00:00:00 2001 From: BaraBara <96526791+BaraBarax@users.noreply.github.com> Date: Mon, 29 Jan 2024 14:58:15 +0300 Subject: [PATCH] Update code/game/mecha/mecha.dm Co-authored-by: Filatelele --- code/game/mecha/mecha.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/mecha/mecha.dm b/code/game/mecha/mecha.dm index c40c9daa8da..edcd8405838 100644 --- a/code/game/mecha/mecha.dm +++ b/code/game/mecha/mecha.dm @@ -408,7 +408,7 @@ var/old_dir = dir if(hasInternalDamage(MECHA_INT_CONTROL_LOST)) move_result = mechsteprand() - else if(src.dir != direction && !strafe) + else if(dir != direction && !strafe) move_result = mechturn(direction) else move_result = mechstep(direction, old_dir)