mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-03 14:02:49 +00:00
Fixes stairs randomly faceplanting you + some initialize/qdel errors (#9341)
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
var/reaction_sound = 'sound/effects/bubbles.ogg'
|
||||
|
||||
var/log_is_important = 0 // If this reaction should be considered important for logging. Important recipes message admins when mixed, non-important ones just log to file.
|
||||
|
||||
/datum/chemical_reaction/proc/can_happen(var/datum/reagents/holder)
|
||||
//check that all the required reagents are present
|
||||
if(!holder.has_all_reagents(required_reagents))
|
||||
|
||||
@@ -1353,7 +1353,7 @@
|
||||
bitesize = 0.1 //this snack is supposed to be eating during looooong time. And this it not dinner food! --rastaf0
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/popcorn/Initialize()
|
||||
..()
|
||||
. = ..()
|
||||
unpopped = rand(1,10)
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/popcorn/on_consume()
|
||||
|
||||
Reference in New Issue
Block a user