Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some more misc runtime fixes (#2491)
* Fix two sources of color_cutoffs runtimes, then give it a better error (#75446) 50% of rounds. `color_cutoffs` must always be a 3-item list. I couldn't find any more cases where this assumption could be wrong. ``` [2023-05-05 04:04:21.144] runtime error: list index out of bounds - proc name: blend cutoff colors (/proc/blend_cutoff_colors) - source file: colors.dm,91 - usr: Varuna Maddox (/mob/living/carbon/human) - src: null - usr.loc: the plating (122,145,2) (/turf/open/floor/plating) - call stack: - blend cutoff colors(/list (/list), /list (/list)) - Varuna Maddox (/mob/living/carbon/human): update sight() - the pressure-resistant enginee... (/obj/item/clothing/glasses/meson/engine): toggle mode(Varuna Maddox (/mob/living/carbon/human), 1) - the pressure-resistant enginee... (/obj/item/clothing/glasses/meson/engine): attack self(Varuna Maddox (/mob/living/carbon/human)) - the pressure-resistant enginee... (/obj/item/clothing/glasses/meson/engine): ui action click(Varuna Maddox (/mob/living/carbon/human), Toggle Mode (/datum/action/item_action/toggle_mode)) - Toggle Mode (/datum/action/item_action/toggle_mode): Trigger(null) - Toggle Mode (/atom/movable/screen/movable/action_button): Click(null, "mapwindow.map", "icon-x=10;icon-y=15;left=1;but...") - Toggle Mode (/atom/movable/screen/movable/action_button): Click(null, "mapwindow.map", "icon-x=10;icon-y=15;left=1;but...") - /datum/callback/verb_callback (/datum/callback/verb_callback): Invoke() - world: push usr(Varuna Maddox (/mob/living/carbon/human), /datum/callback/verb_callback (/datum/callback/verb_callback)) - /datum/callback/verb_callback (/datum/callback/verb_callback): InvokeAsync() - Input (/datum/controller/subsystem/verb_manager/input): run verb queue() - Input (/datum/controller/subsystem/verb_manager/input): fire(0) - Input (/datum/controller/subsystem/verb_manager/input): fire(0) - Input (/datum/controller/subsystem/verb_manager/input): fire(0) - Input (/datum/controller/subsystem/verb_manager/input): ignite(0) - Master (/datum/controller/master): RunQueue() - Master (/datum/controller/master): Loop(2) - Master (/datum/controller/master): StartProcessing(0) ``` * Don't re-add repackable to colony ore silos every silo_log * Fix runtimes with experimental cloners * Fixes chem master replace beaker runtime (#76062) ## About The Pull Request I think it was rather silly to put this call in this proc, but I'm not about to audit it `new_beaker` can be `null` if this proc is being called to drop the current beaker, so this needed a sanity check ## Why It's Good For The Game Runtime ## Changelog :cl: Melbert fix: Runtime from ejecting beakers from a chem-master /:cl: --------- Co-authored-by: Mothblocks <[email protected]> Co-authored-by: MrMelbert <[email protected]>
- Loading branch information