Skip to content

Commit

Permalink
Fixes pylon lesser drone numbers (#4294)
Browse files Browse the repository at this point in the history
# About the pull request

It's neat that this isn't picked up by the compiler. Never even
considered it.

# Explain why it's good for the game

Bug bad


# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog

:cl: Morrow
fix: Fixed lesser drone counts on pylons/cores
/:cl:
  • Loading branch information
morrowwolf committed Aug 31, 2023
1 parent f815274 commit 72b9c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/cm_aliens/structures/special/pylon_core.dm
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
. = ..()

var/lesser_count = 0
for(var/mob/living/carbon/xenomorph/lesser_drone in linked_hive.totalXenos)
for(var/mob/living/carbon/xenomorph/lesser_drone/lesser in linked_hive.totalXenos)
lesser_count++

. += "Currently holding [SPAN_NOTICE("[Floor(lesser_drone_spawns)]")]/[SPAN_NOTICE("[lesser_drone_spawn_limit]")] lesser drones."
Expand Down

0 comments on commit 72b9c48

Please sign in to comment.