mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Fixes emagged deep fryer softlocks (#18874)
This commit is contained in:
@@ -136,7 +136,12 @@
|
||||
else
|
||||
L.death()
|
||||
break
|
||||
sleep(cooktime)
|
||||
addtimer(CALLBACK(src, .proc/finish_cook, I, user), cooktime)
|
||||
|
||||
/obj/machinery/cooker/proc/finish_cook(obj/item/I, mob/user, params)
|
||||
if(QDELETED(I)) //For situations where the item being cooked gets deleted mid-cook (primed grenades)
|
||||
turnoff()
|
||||
return
|
||||
if(I && I.loc == src)
|
||||
//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
|
||||
|
||||
Reference in New Issue
Block a user