From fe93b11875957f154a4266267732eb5d2c8677dc Mon Sep 17 00:00:00 2001 From: NovaBot <154629622+NovaBot13@users.noreply.github.com> Date: Mon, 26 Feb 2024 21:21:57 -0500 Subject: [PATCH] [MIRROR] [NO GBP] Fixes spurious CI failures from museum ash spawns (for real this time) (#1174) * [NO GBP] Fixes spurious CI failures from museum ash spawns (for real this time) (#81690) ## About The Pull Request I saw this runtime again despite thinking I fixed it and then realized I needed to be calling `ispath()` since we are not working with an instantiated object with these lists. Oops ## Why It's Good For The Game Working code is good ## Changelog Nothing player facing * [NO GBP] Fixes spurious CI failures from museum ash spawns (for real this time) --------- Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com> --- code/game/objects/effects/spawners/random/maintenance.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/effects/spawners/random/maintenance.dm b/code/game/objects/effects/spawners/random/maintenance.dm index 234b69e8571..38f8af6a902 100644 --- a/code/game/objects/effects/spawners/random/maintenance.dm +++ b/code/game/objects/effects/spawners/random/maintenance.dm @@ -9,7 +9,7 @@ /obj/effect/spawner/random/maintenance/no_decals /obj/effect/spawner/random/maintenance/no_decals/can_spawn(atom/loot) - return !istype(loot, /obj/effect/decal) + return !ispath(loot, /obj/effect/decal) /obj/effect/spawner/random/maintenance/examine(mob/user) . = ..()