From 53a613c9b34a387d6a8e359d6874516510d208bc Mon Sep 17 00:00:00 2001
From: zzzmike <85382350+zzzmike@users.noreply.github.com>
Date: Wed, 5 Jun 2024 23:46:44 -0700
Subject: [PATCH] test
---
code/modules/cm_aliens/structures/special/egg_morpher.dm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/code/modules/cm_aliens/structures/special/egg_morpher.dm b/code/modules/cm_aliens/structures/special/egg_morpher.dm
index b7f2034d47a0..217af1d96490 100644
--- a/code/modules/cm_aliens/structures/special/egg_morpher.dm
+++ b/code/modules/cm_aliens/structures/special/egg_morpher.dm
@@ -45,9 +45,12 @@
if(isxeno(user) || isobserver(user))
. += "It has [stored_huggers] facehuggers within, with [huggers_to_grow] more to grow (reserved: [huggers_reserved])."
if(isobserver(user))
- #include "code\modules\mob\living\carbon\xenomorph\hive_status.dm"
+ var/current_hugger_count = 0
+ for(var/mob/mob as anything in totalXenos)
+ if(isfacehugger(mob))
+ current_hugger_count++
var/datum/hive_status/hive = GLOB.hive_datum[hivenumber]
- . += "Current facehugger limit: [current_hugger_count]/[playable_hugger_limit]"
+ . += "Current facehugger limit: [hive.current_hugger_count]/[hive.playable_hugger_limit]"
/obj/effect/alien/resin/special/eggmorph/attackby(obj/item/I, mob/user)
if(istype(I, /obj/item/grab))