Skip to content

Commit

Permalink
Fixes mold not spawning enemies (#968)
Browse files Browse the repository at this point in the history
* Fixes mold not spawning mobs

* It's a macro so we need backslashes

Thanks Byond
  • Loading branch information
vinylspiders authored and StealsThePRs committed Feb 15, 2024
1 parent fcba208 commit 00efc15
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion modular_nova/modules/mold/code/mold_structures.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 00efc15

Please sign in to comment.