mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Restore IsLoaded check
This commit is contained in:
@ -57,7 +57,7 @@ namespace osu.Game.Rulesets.Catch.UI
|
|||||||
|
|
||||||
// this is required to make this run after the last caught fruit runs UpdateState at least once.
|
// this is required to make this run after the last caught fruit runs UpdateState at least once.
|
||||||
// TODO: find a better alternative
|
// TODO: find a better alternative
|
||||||
if (lastPlateableFruit.LoadState > LoadState.Ready)
|
if (lastPlateableFruit.IsLoaded)
|
||||||
action();
|
action();
|
||||||
else
|
else
|
||||||
lastPlateableFruit.OnLoadComplete = _ => action();
|
lastPlateableFruit.OnLoadComplete = _ => action();
|
||||||
|
Reference in New Issue
Block a user