From f91756d2e381a14995589e33a797414fdd675cb6 Mon Sep 17 00:00:00 2001
From: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com>
Date: Tue, 27 Dec 2022 19:08:11 -0500
Subject: [PATCH] fixes a bug (#20019)
---
.../food_and_drinks/kitchen_machinery/kitchen_machine.dm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/code/modules/food_and_drinks/kitchen_machinery/kitchen_machine.dm b/code/modules/food_and_drinks/kitchen_machinery/kitchen_machine.dm
index 29d7bd3a9bf..35d2045bb26 100644
--- a/code/modules/food_and_drinks/kitchen_machinery/kitchen_machine.dm
+++ b/code/modules/food_and_drinks/kitchen_machinery/kitchen_machine.dm
@@ -524,6 +524,9 @@
if(!anchored)
to_chat(user, "It's unanchored!")
return FALSE
+ if(operating)
+ to_chat(user, "Its already cooking!")
+ return FALSE
return TRUE
#undef NO_DIRT