mirror of https://github.com/ppy/osu
Consume auto skip setting during play
This commit is contained in:
parent
b5ec7d06dd
commit
c852c54055
|
@ -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;
|
||||
|
|
|
@ -363,7 +363,7 @@ private void prepareNewPlayer()
|
|||
return;
|
||||
|
||||
CurrentPlayer = createPlayer();
|
||||
CurrentPlayer.Configuration.AutomaticallySkipIntro = quickRestart;
|
||||
CurrentPlayer.Configuration.AutomaticallySkipIntro |= quickRestart;
|
||||
CurrentPlayer.RestartCount = restartCount++;
|
||||
CurrentPlayer.RestartRequested = restartRequested;
|
||||
|
||||
|
|
Loading…
Reference in New Issue