1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 02:22:56 +08:00

Merge pull request #21306 from frenzibyte/fix-editor-seeking-state

Fix editor not always playing hitsounds with clock offsets applied
This commit is contained in:
Dean Herbert 2022-11-19 15:08:53 +09:00 committed by GitHub
commit 5fda702267
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -270,7 +270,7 @@ namespace osu.Game.Screens.Edit
{
IsSeeking &= Transforms.Any();
if (track.Value?.IsRunning != true)
if (!IsRunning)
{
// seeking in the editor can happen while the track isn't running.
// in this case we always want to expose ourselves as seeking (to avoid sample playback).