From 86cf4a348917f68dfc4bee02f84e832aee9816b4 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Mon, 27 Mar 2023 03:05:13 +0200 Subject: [PATCH] [MIRROR] [NO GBP] Fixes excess xenomorph teams being formed [MDB IGNORE] (#20085) --- code/modules/antagonists/xeno/xeno.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/antagonists/xeno/xeno.dm b/code/modules/antagonists/xeno/xeno.dm index 8ecede79c2a..eaebc61cd47 100644 --- a/code/modules/antagonists/xeno/xeno.dm +++ b/code/modules/antagonists/xeno/xeno.dm @@ -31,7 +31,7 @@ /datum/antagonist/xeno/create_team(datum/team/xeno/new_team) if(!new_team) for(var/datum/antagonist/xeno/X in GLOB.antagonists) - if(!X.owner || !X.xeno_team || !istype(X.xeno_team, new_team)) //Make sure we don't add them to the wrong team + if(!X.owner || !X.xeno_team) continue xeno_team = X.xeno_team return