Skip to content

Commit

Permalink
Снёс лишние аргументы и поправил оставшиеся
Browse files Browse the repository at this point in the history
  • Loading branch information
FlitchTime committed Dec 11, 2024
1 parent df520cd commit 02afe36
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
return

add_fingerprint(user)
cook(user)
cook()

/obj/machinery/kitchen_machine/CtrlShiftClick(mob/user)
var/mob/living/carbon/human/human = user
Expand Down Expand Up @@ -349,7 +349,7 @@
* Machine Menu Handling/Cooking *
************************************/

/obj/machinery/kitchen_machine/proc/cook(mob/user)
/obj/machinery/kitchen_machine/proc/cook()
if(stat & (NOPOWER|BROKEN))
return
start()
Expand Down Expand Up @@ -491,7 +491,7 @@
if(reagents.total_volume)
dirty++
reagents.clear_reagents()
to_chat(usr, "<span class='notice'>You dispose of \the [src]'s contents.</span>")
to_chat(user, "<span class='notice'>You dispose of \the [src]'s contents.</span>")
updateUsrDialog()

/obj/machinery/kitchen_machine/proc/muck_start()
Expand Down Expand Up @@ -549,7 +549,7 @@

switch(href_list["action"])
if("cook")
cook(usr)
cook()

if("dispose")
dispose(usr)
Expand Down
8 changes: 4 additions & 4 deletions code/modules/reagents/chemistry/machinery/reagentgrinder.dm
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
return

add_fingerprint(user)
grind(user)
grind()

/obj/machinery/reagentgrinder/CtrlShiftClick(mob/user)
var/mob/living/carbon/human/human = user
Expand All @@ -257,7 +257,7 @@
return

add_fingerprint(user)
detach(user)
detach()

/obj/machinery/reagentgrinder/attack_ai(mob/user)
return FALSE
Expand Down Expand Up @@ -324,13 +324,13 @@
return
switch(href_list["action"])
if ("grind")
grind(usr)
grind()
if("juice")
juice()
if("eject")
eject()
if ("detach")
detach(usr)
detach()

/obj/machinery/reagentgrinder/proc/detach()

Expand Down

0 comments on commit 02afe36

Please sign in to comment.