From 950e32fcb54e2b5fb7a60153339b2e67079005af Mon Sep 17 00:00:00 2001 From: Git-Nivrak <59925169+Git-Nivrak@users.noreply.github.com> Date: Tue, 2 Jul 2024 18:50:20 +0300 Subject: [PATCH] Update XenoStructures.dm --- code/modules/cm_aliens/XenoStructures.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/cm_aliens/XenoStructures.dm b/code/modules/cm_aliens/XenoStructures.dm index b1ad370c94da..9cae194b75d7 100644 --- a/code/modules/cm_aliens/XenoStructures.dm +++ b/code/modules/cm_aliens/XenoStructures.dm @@ -924,7 +924,7 @@ /// Callback for a repeating 10s timer to ensure both pylons are active (otherwise delete) and counts the number of marines groundside (would cause hatching to expedite). /obj/effect/alien/resin/king_cocoon/proc/check_pylons() - var/datum/hive_status/hive = GLOB.hive_datum[XENO_HIVE_NORMAL] + var/datum/hive_status/hive = GLOB.hive_datum[hive_number] if(length(hive.active_endgame_pylons) < 2) qdel(src)