osu/osu.Game/Screens/Play
Dean Herbert 11cf04eed1 Fix frames potentially getting added to spectator replay in wrong format
The way spectator currently works, the `Spectator` screen is responsible
for adding new frames to the replay, even when it has a child
(`SpectatorPlayer`) present.

There was a possibility that a new play had already started, and on
returning to the Spectator screen (to initialise the new play) there
would be a brief period where the Player instance is still reading from
the replay, the `userBeganPlaying` call had not yet finished
initialising the new target replay, and `userSentFrames` is run
(asynchronously), writing frames to the previous replay using the
incorrect ruleset instance).

To make this work, it doesn't `Schedule` frame addition to the replay
(making things a bit unsafe). Changing this itself isn't such a simple
one to do, so I instead opted to fix this via locking.

Closes https://github.com/ppy/osu/issues/10777.
2020-11-11 13:39:43 +09:00
..
Break
HUD Merge pull request #10555 from peppy/fix-score-display-zero-padding 2020-10-19 15:54:12 +09:00
PlayerSettings
BeatmapMetadataDisplay.cs Different version of epilepsy warning display 2020-10-20 00:32:44 +03:00
BreakOverlay.cs
BreakTracker.cs
ComboEffects.cs Fix incorrect specification on some sample lookups 2020-10-30 11:59:41 +09:00
DimmableStoryboard.cs
EpilepsyWarning.cs Shorten fade duration to make fade out snappier 2020-10-25 00:40:11 +02:00
FailAnimation.cs
FailOverlay.cs
GameplayBeatmap.cs
GameplayClock.cs Use bindable flow instead 2020-10-27 14:10:12 +09:00
GameplayClockContainer.cs Add more xmldocs 2020-11-01 15:23:03 +01:00
GameplayMenuOverlay.cs
HotkeyExitOverlay.cs
HotkeyRetryOverlay.cs
HUDOverlay.cs Merge pull request #10621 from peppy/hud-momentary-visibility 2020-10-30 15:40:54 +09:00
ISamplePlaybackDisabler.cs
KeyCounter.cs
KeyCounterAction.cs
KeyCounterDisplay.cs
KeyCounterKeyboard.cs
KeyCounterMouse.cs
KeyCounterState.cs
PauseOverlay.cs Fix incorrect specification on some sample lookups 2020-10-30 11:59:41 +09:00
Player.cs Fix spectating when starting from a point that isn't at the beginning of the beatmap 2020-10-27 18:58:37 +09:00
PlayerLoader.cs Change to manual adjustment add/remove 2020-10-25 12:33:35 +01:00
ReplayPlayer.cs Fix a couple of inspections 2020-10-27 22:30:45 +09:00
ReplayPlayerLoader.cs
ResumeOverlay.cs
ScreenSuspensionHandler.cs
ScreenWithBeatmapBackground.cs
SkinnableHealthDisplay.cs
SkipOverlay.cs
SongProgress.cs
SongProgressBar.cs
SongProgressGraph.cs
SongProgressInfo.cs
Spectator.cs Fix frames potentially getting added to spectator replay in wrong format 2020-11-11 13:39:43 +09:00
SpectatorPlayer.cs Remove redundant base call 2020-11-03 20:10:13 +09:00
SpectatorPlayerLoader.cs Fix spectating when starting from a point that isn't at the beginning of the beatmap 2020-10-27 18:58:37 +09:00
SpectatorResultsScreen.cs Fix screen exit potentially occuring during transition 2020-10-28 19:43:06 +09:00
SquareGraph.cs