Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix door prying #2591

Merged
merged 3 commits into from
Jan 3, 2025
Merged

fix door prying #2591

merged 3 commits into from
Jan 3, 2025

Conversation

deltanedas
Copy link
Member

About the PR

early merge of space-wizards/space-station-14#33968

Why / Balance

bug bad and 2 week ops

Breaking changes

no

Changelog
🆑 zHonys

  • fix: Fixed Airlocks and Firelocks not being able to be closed when de powered.

zHonys added 3 commits January 2, 2025 23:24
Added new property "BeingPried" in Content.Shared.Doors.DoorComponent

Changed Content.Shared.Doors.Systems.SharedAirlockSystem OnBeforeDoorClosed() and CanChangeState() to check for BeingPried door flag

Changed Content.Shared.Doors.Systems.SharedDoorSystem OnAfterPry to set BeingPried to true when closing

Changed Content.Shared.Doors.Systems.SharedDoorSystem set BeingPried to false after CanClose is called
@deltanedas deltanedas requested a review from a team as a code owner January 2, 2025 23:29
@github-actions github-actions bot added Changes: C# Changes any cs files size/XS Under 16 lines S: Needs Review labels Jan 2, 2025
@deltanedas deltanedas merged commit 86a23ec into DeltaV-Station:master Jan 3, 2025
15 checks passed
@deltanedas deltanedas deleted the door-fix-ops branch January 3, 2025 07:35
@zHonys
Copy link
Contributor

zHonys commented Jan 3, 2025

Oh wow, nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changes: C# Changes any cs files S: Needs Review size/XS Under 16 lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants