mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Find video by recursive check rather than marker interface
Seems a lot more reliable, and allows falling back to the "main" video in cases which didn't support this previously. A next step may be to allow every screen to support a video based on its screen name, rather than specifying the local `TourneyVideo` every time.
This commit is contained in:
@ -22,6 +22,8 @@ namespace osu.Game.Tournament.Components
|
||||
private Video video;
|
||||
private ManualClock manualClock;
|
||||
|
||||
public bool VideoAvailable => video != null;
|
||||
|
||||
public TourneyVideo(string filename, bool drawFallbackGradient = false)
|
||||
{
|
||||
this.filename = filename;
|
||||
|
Reference in New Issue
Block a user