Door open sound plays after door close when opened by another player
Created attachment 574 [details]
demo showing the bug
When another player opens a door the door open sound will play after it closes.
Fixed the bug (for now).
In an online game, a new door object is spawned after a door is destroyed when updating the sector snapshot.
I added a conditional statement to check whether the door's status is "finished," preventing a new door from spawning if it is.
Here's the commit: https://github.com/vonalogue/odamex/commit/e66d67595eb03e2c02976bfd05e79a23af801b3a#diff-9efab2399c7c560b34de477b9aa0a465