Skip to content

Commit c4c5406

Browse files
committed
Fix bug on failing to start syncing audio
1 parent b7e6d3d commit c4c5406

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

KeyAsio.Gui/Realtime/RealtimeModeManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ public async Task StartAsync(string beatmapFilenameFull, string beatmapFilename)
327327
try
328328
{
329329
Logger.Info("Start playing.");
330+
IsStarted = true;
330331
OsuFile = null;
331332

332333
var folder = Path.GetDirectoryName(beatmapFilenameFull);
@@ -345,7 +346,6 @@ public async Task StartAsync(string beatmapFilenameFull, string beatmapFilename)
345346
await InitializeNodeListsAsync(folder, beatmapFilename);
346347
AddSkinCacheInBackground();
347348
ResetNodes();
348-
IsStarted = true;
349349
}
350350
catch (Exception ex)
351351
{

0 commit comments

Comments
 (0)