Skip to content

Commit

Permalink
Hive core and dead larvas.
Browse files Browse the repository at this point in the history
  • Loading branch information
Segrain committed Jun 23, 2023
1 parent 2d9c452 commit 52fb2d5
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 @@ -137,7 +137,7 @@
// Handle spawning larva if core is connected to a hive
if(linked_hive)
for(var/mob/living/carbon/xenomorph/larva/L in range(2, src))
if(!L.ckey && L.burrowable && !QDELETED(L))
if((!L.ckey || L.stat == DEAD) && L.burrowable && (L.hivenumber == linked_hive.hivenumber) && !QDELETED(L))
visible_message(SPAN_XENODANGER("[L] quickly burrows into \the [src]."))
linked_hive.stored_larva++
linked_hive.hive_ui.update_burrowed_larva()
Expand Down

0 comments on commit 52fb2d5

Please sign in to comment.