Fixes mold spawners (#26723) (#1258)

<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request

This didnt get in the upstream by a day

closes https://github.com/Bubberstation/Bubberstation/pull/1163
This commit is contained in:
Waterpig
2024-03-11 17:45:19 +01:00
committed by GitHub
parent 03c58540d7
commit f7d2c3dc7b
@@ -380,7 +380,13 @@
/obj/structure/mold/structure/spawner/Initialize(mapload)
. = ..()
AddComponent(/datum/component/spawner, mold_type.mob_types, mold_type.spawn_cooldown, mold_type.max_spawns, list(FACTION_MOLD), "emerges from")
AddComponent(/datum/component/spawner, \
spawn_types = mold_type.mob_types, \
spawn_time = mold_type.spawn_cooldown, \
max_spawned = mold_type.max_spawns, \
faction = list(FACTION_MOLD), \
spawn_text = "emerges from", \
)
#undef CORE_RETALIATION_COOLDOWN
#undef MOLD_BULB_ALPHA