Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes indefinite stasis bug (cmss13-devs#5996)
# About the pull request Fixes cmss13-devs#5960, The knockdown status effect was applying a floored trait to the user on every tick through the handle_stasis_bag proc, and the interrupt_all flags was being passed into the do_after which meant that it wouldn't be possible to execute the action. This is because every time the user clicked the resist verb the interrupt_knocked_down (part of interrupt_all) flag in conjunction with the floored trait would always return false. To solve this I instead passed in the interrupt_unconscious flag, meaning the other conditions would allow the user to resist out of the bag, we could instead just apply a Root (immobilize status effect) to the handle_stasis_bag proc and pass in the interrupt_all flag into the do_after as it was before. The only difference being when the user exits the bag they will be standing up instead of lying down, and all other interrupts will cause the action to cancel. (KnockDown applies both a floored and immobilize trait, Root just applies the immobilize trait). Or we can just modify the bitflags and pass in a custom one without the knocked down flag. # Changelog :cl: fix: fixes users not being able to resist out of the stasis bags /:cl:
- Loading branch information