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

Purge final spectator frames before ending play #16690

Merged
merged 5 commits into from Jan 31, 2022

Conversation

smoogipoo
Copy link
Contributor

Found this out in the middle of a bunch of other changes. It doesn't (yet?) cause an issue playing user or server-side, however the viewer may receive frames after ending play and my upcoming changes add statistics frames to ensure spectator completes gameplay/completes with the correct score statistics displayed. For this reason, I need the viewer to receive all frames before the end play event.

@bdach
Copy link
Collaborator

bdach commented Jan 28, 2022

I've also pushed a fix for the code quality inspection that came up in a file originally not changed here due to the IEnumerable -> IList type change on the frame bundle.

Copy link
Sponsor Member

@peppy peppy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks sane 👍 .

@peppy peppy enabled auto-merge January 31, 2022 06:13
@peppy peppy merged commit 95582a9 into ppy:master Jan 31, 2022
@smoogipoo smoogipoo deleted the flush-frames-end-play branch September 11, 2023 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants