Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[hotfix] fix mia on server-sent stop (#284)
Hotfix for now, but the whole extract+quit out logic will need to be simplified/unified in the next major release. Sequence of events triggering the bug: - guest extracts (regardless of exfil type/map) - guest's collider is disabled so that existing players do not get bodyblocked - no more collision with exfil point means `OnCancelExtraction` is called, which has new "runner" detection logic, setting the exit status to mia (restoring "default" value) - host quits (i.e. pressed F8) - host's `profileId` is before guest's `profileId` in the `Players` list - host "kicks" all players including itself before it "kicks" the guest - nodejs server sees host left, sends a "everybody leave now!" message to all remaining connected players, including guest - guest leaves without recomputing its exit status, which was set to MIA by `OnCancelExtraction` above - player sad
- Loading branch information