From f7d2c3dc7bb311d5fa999bda323db11ace0c8079 Mon Sep 17 00:00:00 2001 From: Waterpig <49160555+Majkl-J@users.noreply.github.com> Date: Mon, 11 Mar 2024 17:45:19 +0100 Subject: [PATCH] Fixes mold spawners (#26723) (#1258) ## About The Pull Request This didnt get in the upstream by a day closes https://github.com/Bubberstation/Bubberstation/pull/1163 --- modular_skyrat/modules/mold/code/mold_structures.dm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modular_skyrat/modules/mold/code/mold_structures.dm b/modular_skyrat/modules/mold/code/mold_structures.dm index 0603793184c..3b5213395ff 100644 --- a/modular_skyrat/modules/mold/code/mold_structures.dm +++ b/modular_skyrat/modules/mold/code/mold_structures.dm @@ -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