1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 14:25:05 +08:00

Make timeshift player able to not allow pause

This commit is contained in:
smoogipoo 2020-12-21 00:06:44 +09:00
parent 1fdc19ee0f
commit 945ba59c8e

View File

@ -35,7 +35,8 @@ namespace osu.Game.Screens.Multi.Play
[Resolved]
private IBindable<RulesetInfo> ruleset { get; set; }
public TimeshiftPlayer(PlaylistItem playlistItem)
public TimeshiftPlayer(PlaylistItem playlistItem, bool allowPause = true)
: base(allowPause)
{
this.playlistItem = playlistItem;
}