Skip to content

Commit

Permalink
adds adjacency check to kitchen_machine AltClick (#26591)
Browse files Browse the repository at this point in the history
  • Loading branch information
chuga-git authored Aug 24, 2024
1 parent 50b8535 commit 7f3918b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 7f3918b

Please sign in to comment.