Skip to content

Commit

Permalink
Fixes strain swapping not being instant (#16225)
Browse files Browse the repository at this point in the history
  • Loading branch information
Notamaniac authored Jul 2, 2024
1 parent 9de193a commit bb57b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/xenomorph/evo_datum.dm
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
var/datum/xeno_caste/caste = GLOB.xeno_caste_datums[newpath][XENO_UPGRADE_BASETYPE]
if(!caste)
return
xeno.do_evolve(caste.type, (HAS_TRAIT(xeno, TRAIT_CASTE_SWAP) || HAS_TRAIT(xeno, TRAIT_REGRESSING))) // All the checks for can or can't are handled inside do_evolve
xeno.do_evolve(caste.type, (HAS_TRAIT(xeno, TRAIT_CASTE_SWAP) || HAS_TRAIT(xeno, TRAIT_REGRESSING)|| HAS_TRAIT(xeno, TRAIT_STRAIN_SWAP))) // All the checks for can or can't are handled inside do_evolve
return TRUE

/datum/evolution_panel/ui_close(mob/user)
Expand Down

0 comments on commit bb57b2e

Please sign in to comment.