adds adjacency check to kitchen_machine AltClick (#26591)

This commit is contained in:
chuga-git
2024-08-24 12:49:37 -05:00
committed by GitHub
parent 50b85352dc
commit 7f3918b279
@@ -565,7 +565,7 @@
dispose(ui.user)
/obj/machinery/kitchen_machine/AltClick(mob/user)
if(!check_useable(user))
if(!Adjacent(user) || !check_useable(user))
return
cook()