[MIRROR] [NO GBP] Fixes a regression with the no-decal maintenance loot spawner (#28852)

* [NO GBP] Fixes a regression with the no-decal maintenance loot spawner (#84896)

## About The Pull Request
Accidentally removed the can_spawn proc definition at some point.

## Why It's Good For The Game
Fixing the CI.

## Changelog
N/A

* [NO GBP] Fixes a regression with the no-decal maintenance loot spawner

---------

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
SkyratBot
2024-07-15 10:06:56 +05:30
committed by GitHub
co-authored by Ghom
parent c0af0aaeac
commit a0960653b0
@@ -9,6 +9,11 @@
/// decals such as ashes will cause NeverShouldHaveComeHere() to fail on such turfs, which creates annoying rng based CI failures
/obj/effect/spawner/random/maintenance/no_decals
/obj/effect/spawner/random/maintenance/no_decals/can_spawn(loot)
if(ispath(loot, /obj/effect/decal))
return FALSE
return ..()
/obj/effect/spawner/random/maintenance/examine(mob/user)
. = ..()
. += span_info("This spawner has an effective loot count of [get_effective_lootcount()].")