From 6ed1bd978718243952995e0439f34958534d55bd Mon Sep 17 00:00:00 2001 From: Iajret Creature <122297233+Steals-The-PRs@users.noreply.github.com> Date: Thu, 8 Feb 2024 02:29:15 +0300 Subject: [PATCH] [MIRROR] autolathe altclick sanity (#1844) * autolathe altclick sanity (#81267) --------- Co-authored-by: NovaBot <154629622+NovaBot13@users.noreply.github.com> Co-authored-by: jimmyl <70376633+mc-oofert@users.noreply.github.com> --- code/game/machinery/autolathe.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/machinery/autolathe.dm b/code/game/machinery/autolathe.dm index 1636613ad50..03473ed5d39 100644 --- a/code/game/machinery/autolathe.dm +++ b/code/game/machinery/autolathe.dm @@ -389,6 +389,8 @@ /obj/machinery/autolathe/AltClick(mob/user) . = ..() + if(!can_interact(user)) + return if(drop_direction) balloon_alert(user, "drop direction reset") drop_direction = 0