From bd0614deb37c1acf5dbf053e4223c59897e41a03 Mon Sep 17 00:00:00 2001 From: ihatethisengine Date: Sun, 30 Jul 2023 10:59:36 +0300 Subject: [PATCH] No self-alliance --- code/modules/mob/living/carbon/xenomorph/xeno_defines.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/mob/living/carbon/xenomorph/xeno_defines.dm b/code/modules/mob/living/carbon/xenomorph/xeno_defines.dm index 9e59616f9f90..a9ade04b3aba 100644 --- a/code/modules/mob/living/carbon/xenomorph/xeno_defines.dm +++ b/code/modules/mob/living/carbon/xenomorph/xeno_defines.dm @@ -1367,6 +1367,8 @@ xeno_message(SPAN_XENOANNOUNCE("With the death of the Queen all alliances has been broken."), 3, hivenumber) /datum/hive_status/proc/change_stance(faction, should_ally) + if(faction == name) + return if(allies[faction] == should_ally) return allies[faction] = should_ally