From 153bac98b7f0a167f5eed52e5caf44d34991c3b5 Mon Sep 17 00:00:00 2001 From: Flutterish Date: Tue, 26 Apr 2022 05:25:01 +0200 Subject: [PATCH] update to newest osu version --- osu.Game.Rulesets.RurusettoAddon/RurusettoIcon.cs | 5 +++-- .../osu.Game.Rulesets.RurusettoAddon.csproj | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/osu.Game.Rulesets.RurusettoAddon/RurusettoIcon.cs b/osu.Game.Rulesets.RurusettoAddon/RurusettoIcon.cs index 792c469..33dd3ab 100644 --- a/osu.Game.Rulesets.RurusettoAddon/RurusettoIcon.cs +++ b/osu.Game.Rulesets.RurusettoAddon/RurusettoIcon.cs @@ -66,14 +66,15 @@ bool guard ( [NotNullWhen(false)] object? x, string code ) { try { loadComponent.Invoke( game, - new object[] { new RurusettoOverlay( ruleset ), (Action)addOverlay, true } + new object[] { new RurusettoOverlay( ruleset ), (Action)addOverlay, true } ); } catch ( Exception ) { error( "#LCIE" ); } - void addOverlay ( RurusettoOverlay overlay ) { + void addOverlay ( Drawable drawable ) { + RurusettoOverlay overlay = (RurusettoOverlay)drawable; Action abort = () => { }; void errDefer ( Action action ) { var oldAbort = abort; diff --git a/osu.Game.Rulesets.RurusettoAddon/osu.Game.Rulesets.RurusettoAddon.csproj b/osu.Game.Rulesets.RurusettoAddon/osu.Game.Rulesets.RurusettoAddon.csproj index 4bf23a2..a42126e 100644 --- a/osu.Game.Rulesets.RurusettoAddon/osu.Game.Rulesets.RurusettoAddon.csproj +++ b/osu.Game.Rulesets.RurusettoAddon/osu.Game.Rulesets.RurusettoAddon.csproj @@ -18,6 +18,6 @@ - + \ No newline at end of file