Skip to content

Commit

Permalink
Hopefully fixes it?
Browse files Browse the repository at this point in the history
  • Loading branch information
SabreML committed Jan 14, 2024
1 parent 392dac2 commit a49d7ab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/modules/mob/living/carbon/xenomorph/hive_status.dm
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,12 @@
spawning_area = pick(totalXenos) // FUCK IT JUST GO ANYWHERE
var/list/turf_list
for(var/turf/open/open_turf in orange(3, spawning_area))
if(istype(open_turf, /turf/open/space))
continue
LAZYADD(turf_list, open_turf)
// just on the off-chance
if(!LAZYLEN(turf_list))
return FALSE
var/turf/open/spawning_turf = pick(turf_list)

var/mob/living/carbon/xenomorph/larva/new_xeno = spawn_hivenumber_larva(spawning_turf, hivenumber)
Expand Down

0 comments on commit a49d7ab

Please sign in to comment.