Skip to content

Improved auto close function#986

Closed
connman116 wants to merge 8 commits into
ReactiveDrop:reactivedrop_betafrom
connman116:reactivedrop_beta
Closed

Improved auto close function#986
connman116 wants to merge 8 commits into
ReactiveDrop:reactivedrop_betafrom
connman116:reactivedrop_beta

Conversation

@connman116

@connman116 connman116 commented Oct 20, 2025

Copy link
Copy Markdown
Contributor

Changes to
asw_door.h
asw_door.cpp
BasePropDoor.h

moved autoclose from props.cpp to asw_door.cpp and improved it in the process to detect marines near doors and reschedule autoclosing if it attempts to autoclose when a marine is near a door

removed doorclose from asw_door.h when theres no door close function in asw_door.cpp

@ModdedMarionette

Copy link
Copy Markdown
Contributor

This is a band-aid workaround fix that creates an inconsistency between the doors' open logic and close logic.
Please hold off on pushing this change, as we are far from the point of having to resort to workarounds with guaranteed side effects.

@connman116 connman116 closed this Oct 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants