Skip to content

Commit

Permalink
Tweak conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar committed Aug 9, 2023
1 parent a212668 commit 454790e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/mob/living/carbon/xenomorph/xeno_defines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -930,10 +930,10 @@
embryo.hivenumber = XENO_HIVE_FORSAKEN
potential_host.update_med_icon()
for(var/mob/living/carbon/human/current_human as anything in GLOB.alive_human_list)
if((isspecieshuman(current_human) || isspeciessynth(current_human)) && current_human.job)
if((isspecieshuman(current_human) || isspeciessynth(current_human)))
var/datum/job/job = RoleAuthority.roles_for_mode[current_human.job]
var/turf/turf = get_turf(current_human)
if(is_mainship_level(turf?.z))
if(job && is_mainship_level(turf?.z))
shipside_humans_weighted_count += RoleAuthority.calculate_role_weight(job)
hijack_burrowed_surge = TRUE
hijack_burrowed_left = max(n_ceil(shipside_humans_weighted_count * 0.5) - xenos_count, 5)
Expand Down

0 comments on commit 454790e

Please sign in to comment.