Matriarch Fixes (#12717)

This commit is contained in:
Geeves
2021-11-02 14:14:02 -03:00
committed by GitHub
parent b44eb3f94c
commit 0ac5945355
3 changed files with 13 additions and 2 deletions
+1 -1
View File
@@ -193,7 +193,7 @@
/datum/controller/subsystem/ghostroles/proc/add_spawn_atom(var/ghost_role_name, var/atom/spawn_atom)
if(ghost_role_name && spawn_atom)
var/datum/ghostspawner/G = spawners[ghost_role_name]
if(G)
if(G && !(spawn_atom in G.spawn_atoms))
G.spawn_atoms += spawn_atom
if(G.atom_add_message)
say_dead_direct("[G.atom_add_message]<br>Spawn in as it by using the ghost spawner menu in the ghost tab, and try to be good!")