mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
[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:
@@ -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()].")
|
||||
|
||||
Reference in New Issue
Block a user