Skip to content

Commit

Permalink
Update XenoStructures.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
Git-Nivrak committed Jun 28, 2024
1 parent cca3ef6 commit 83e7cc6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions code/modules/cm_aliens/XenoStructures.dm
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,10 @@
. = ..()
if(hivenumber)
hive_number = hivenumber
GLOB.hive_datum[hive_number].has_hatchery = TRUE

var/datum/hive_status/hatchery_hive = GLOB.hive_datum[hive_number]
hatchery_hive.has_hatchery = TRUE
color = hatchery_hive.color

for(var/x_offset in -1 to 1)
for(var/y_offset in -1 to 1)
Expand Down Expand Up @@ -1166,7 +1169,7 @@

QDEL_LIST(blockers)

var/mob/living/carbon/xenomorph/king/king = new(get_turf(src), hivenumber=hive_number)
var/mob/living/carbon/xenomorph/king/king = new(get_turf(src), null, hive_number)
if(chosen_candidate?.mob)
var/mob/old_mob = chosen_candidate.mob
old_mob.mind.transfer_to(king)
Expand Down

0 comments on commit 83e7cc6

Please sign in to comment.