From 20e40053ba122ee2be73ca44e75990c056b89406 Mon Sep 17 00:00:00 2001 From: Drulikar Date: Thu, 22 Jun 2023 07:44:07 -0700 Subject: [PATCH] Fix/add some comments --- code/__HELPERS/game.dm | 2 +- code/modules/cm_aliens/structures/special/pylon_core.dm | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/code/__HELPERS/game.dm b/code/__HELPERS/game.dm index e3191628f688..f2721a5ccb00 100644 --- a/code/__HELPERS/game.dm +++ b/code/__HELPERS/game.dm @@ -285,7 +285,7 @@ * Messages observers that are currently candidates an update on the queue. * * Arguments: - * * candidates - The list of observers from get_alien_candidates() with atleast one + * * candidates - The list of observers from get_alien_candidates() * * dequeued - How many candidates to skip messaging because they were dequeued * * cache_only - Whether to not actually send a to_chat message and instead only update larva_queue_cached_message */ diff --git a/code/modules/cm_aliens/structures/special/pylon_core.dm b/code/modules/cm_aliens/structures/special/pylon_core.dm index f3f271ea2ca5..08aa2f86c1bc 100644 --- a/code/modules/cm_aliens/structures/special/pylon_core.dm +++ b/code/modules/cm_aliens/structures/special/pylon_core.dm @@ -151,8 +151,10 @@ var/list/players_with_xeno_pref = get_alien_candidates() if(players_with_xeno_pref && players_with_xeno_pref.len) if(spawning_larva && spawn_burrowed_larva(players_with_xeno_pref[1])) + // We were in spawning_larva mode and successfully spawned someone message_alien_candidates(players_with_xeno_pref, dequeued = 1) else + // Just time to update everyone their queue status (or the spawn failed) message_alien_candidates(players_with_xeno_pref, dequeued = 0) if(linked_hive.hijack_burrowed_surge && (last_surge_time + surge_cooldown) < world.time)