From 6da5c20322443ebb4f4935c504a0abbe74f25011 Mon Sep 17 00:00:00 2001 From: Casey Date: Sun, 6 Jun 2021 05:23:09 -0400 Subject: [PATCH 1/2] Random mob spawners can accept faction input now (#8115) * Random mob spawners can accept faction input now The variable was there, just not used for anything, so I fix * Update code/game/objects/random/mob.dm Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> --- code/game/objects/random/mob.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/objects/random/mob.dm b/code/game/objects/random/mob.dm index bd720faed4a..0699dfb9a18 100644 --- a/code/game/objects/random/mob.dm +++ b/code/game/objects/random/mob.dm @@ -60,6 +60,10 @@ M.pixel_x = pixel_x M.pixel_y = pixel_y + if(mob_faction) + M.faction = mob_faction + + /obj/random/mob/sif name = "Random Sif Animal"