mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
adds adjacency check to kitchen_machine AltClick (#26591)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user