Skip to content

Commit 7f3918b

Browse files
authored
adds adjacency check to kitchen_machine AltClick (ParadiseSS13#26591)
1 parent 50b8535 commit 7f3918b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/modules/food_and_drinks/kitchen_machinery/kitchen_machine.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@
565565
dispose(ui.user)
566566

567567
/obj/machinery/kitchen_machine/AltClick(mob/user)
568-
if(!check_useable(user))
568+
if(!Adjacent(user) || !check_useable(user))
569569
return
570570

571571
cook()

0 commit comments

Comments
 (0)