mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-10 06:37:05 +01:00
Everything can be gone by the time this spawn ends
Maybe this should be a timer with a callback, but it sure is a lot of logic to handle that
This commit is contained in:
@@ -1014,7 +1014,9 @@
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/snacks/donkpocket/proc/cooltime()
|
||||
if (src.warm)
|
||||
spawn(4200)
|
||||
spawn(420 SECONDS)
|
||||
if(!src?.reagents)
|
||||
return
|
||||
src.warm = 0
|
||||
for(var/reagent in heated_reagents)
|
||||
src.reagents.del_reagent(reagent)
|
||||
|
||||
Reference in New Issue
Block a user