Skip to content

Commit

Permalink
bugfix: deepfryer is now working (#5919)
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
Samirakis committed Sep 21, 2024
1 parent 3d06ada commit 50a4136
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/food_and_drinks/kitchen_machinery/cooker.dm
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,12 @@
if(!putIn(I, user))
return ATTACK_CHAIN_PROCEED

addtimer(CALLBACK(src, PROC_REF(cooking_end), I, user))
addtimer(CALLBACK(src, PROC_REF(cooking_end), I, user), cooktime)
return ATTACK_CHAIN_BLOCKED_ALL


/obj/machinery/cooker/proc/cooking_end(obj/item/cooking, mob/cook)
if(!QDELETED(cooking) || cooking.loc != src)
if(QDELETED(cooking) || cooking.loc != src)
return
//New interaction to allow special foods to be made/cooked via deepfryer without removing original functionality
//Define the foods/results on the specific machine --FalseIncarnate
Expand Down

0 comments on commit 50a4136

Please sign in to comment.