Consume auto skip setting during play

This commit is contained in:
Dan Balasescu 2022-08-31 19:50:16 +09:00
parent b5ec7d06dd
commit c852c54055
2 changed files with 3 additions and 2 deletions

View File

@ -61,7 +61,8 @@ public MultiplayerPlayer(Room room, PlaylistItem playlistItem, MultiplayerRoomUs
{
AllowPause = false,
AllowRestart = false,
AllowSkipping = false,
AllowSkipping = room.AutoSkip.Value,
AutomaticallySkipIntro = room.AutoSkip.Value
})
{
this.users = users;

View File

@ -363,7 +363,7 @@ private void prepareNewPlayer()
return;
CurrentPlayer = createPlayer();
CurrentPlayer.Configuration.AutomaticallySkipIntro = quickRestart;
CurrentPlayer.Configuration.AutomaticallySkipIntro |= quickRestart;
CurrentPlayer.RestartCount = restartCount++;
CurrentPlayer.RestartRequested = restartRequested;