mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
Fixes some procs that sleep inside SHOULD_NOT_SLEEP procs (#96959)
## About The Pull Request I fixed should_not_sleep() locally as it wasn't catching all cases. I PR'd this but want to do some damage control before its merged so our linters dont fail on master This revealed some procs that are sleeping but could run in SHOULD_NOT_SLEEP procs. I'll probably keep doing more of these. ## Why It's Good For The Game prevents procs that shouldnt nap from napping ## Changelog 🆑 fix: Fixed some sleeping procs that could run in procs that arent allowed to sleep /🆑
This commit is contained in:
@@ -1374,7 +1374,7 @@
|
||||
|
||||
/datum/reagent/toxin/bonehurtingjuice/on_mob_add(mob/living/carbon/affected_mob)
|
||||
. = ..()
|
||||
affected_mob.say("oof ouch my bones", forced = /datum/reagent/toxin/bonehurtingjuice)
|
||||
INVOKE_ASYNC(affected_mob, TYPE_PROC_REF(/atom/movable, say), "oof ouch my bones", forced = /datum/reagent/toxin/bonehurtingjuice)
|
||||
|
||||
/datum/reagent/toxin/bonehurtingjuice/on_mob_life(mob/living/carbon/affected_mob, seconds_per_tick, metabolization_ratio)
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user