Skip to content

Commit

Permalink
Fixes food duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
DOOM authored and DOOM committed May 1, 2024
1 parent 36e390d commit af5afa9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/game/machinery/kitchen/microwave.dm
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,9 @@
//************************************/

/obj/structure/machinery/microwave/proc/cook(time_multiplier = 1)
if(inoperable())
if(inoperable() || operating)
return

start()
if (reagents.total_volume==0 && !(locate(/obj) in contents)) //dry run
if (!wzhzhzh(10 * time_multiplier))
Expand Down

0 comments on commit af5afa9

Please sign in to comment.