Skip to content

Commit

Permalink
Fix/add some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar committed Jun 22, 2023
1 parent 0c78721 commit 20e4005
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion code/__HELPERS/game.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 2 additions & 0 deletions code/modules/cm_aliens/structures/special/pylon_core.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 20e4005

Please sign in to comment.