Skip to content

Commit

Permalink
resting now cancels evolve again
Browse files Browse the repository at this point in the history
  • Loading branch information
Birdtalon committed Dec 7, 2023
1 parent 672f21a commit d890155
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/mob/living/carbon/xenomorph/Evolution.dm
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@
evolving = TRUE
var/level_to_switch_to = get_vision_level()

if(!do_after(src, 2.5 SECONDS, INTERRUPT_INCAPACITATED, BUSY_ICON_HOSTILE)) // Can evolve while moving
to_chat(src, SPAN_WARNING("You quiver, but nothing happens. Hold still while evolving."))
if(!do_after(src, 2.5 SECONDS, INTERRUPT_INCAPACITATED|INTERRUPT_CHANGED_LYING, BUSY_ICON_HOSTILE)) // Can evolve while moving, resist or rest to cancel it.
to_chat(src, SPAN_WARNING("You quiver, but nothing happens. Your evolution has ceased for now..."))
evolving = FALSE
return

Expand Down

0 comments on commit d890155

Please sign in to comment.