Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Warn user during open airlock repair attempts (#22158)
* Warn user during open airlock repair attempts This commit adds a check for non-closed airlocks during the repair logic, and returns the user a warning message that airlocks must be closed for repairs to work. This avoids the animation cycle of an interrupted repair attempt, and clarifies that repairs cannot be attempted in this state. Fixes #13724. * Use density property to determine repairable state After discussion with @JimKil3 using `icon_state` is problematic, especially for sub-objects that may use alternate names for icon_state. As airlocks aren't interactable during animation, using density here should only attempt repairs when the door is solid.
- Loading branch information