1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-06 07:42:55 +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] [Resolved]
private IBindable<RulesetInfo> ruleset { get; set; } private IBindable<RulesetInfo> ruleset { get; set; }
public TimeshiftPlayer(PlaylistItem playlistItem) public TimeshiftPlayer(PlaylistItem playlistItem, bool allowPause = true)
: base(allowPause)
{ {
this.playlistItem = playlistItem; this.playlistItem = playlistItem;
} }