Skip to content

Commit

Permalink
[MIRROR] [NO GBP] Fixes spurious CI failures from museum ash spawns (…
Browse files Browse the repository at this point in the history
…for real this time) (#2162)

* [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: NovaBot <[email protected]>
Co-authored-by: Bloop <[email protected]>
  • Loading branch information
3 people authored Feb 28, 2024
1 parent b045b66 commit 885c7fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/effects/spawners/random/maintenance.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
. = ..()
Expand Down

0 comments on commit 885c7fa

Please sign in to comment.