Restore IsLoaded check

This commit is contained in:
Dean Herbert 2018-09-06 13:09:57 +09:00 committed by GitHub
parent c03d1d9566
commit 65018705f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
// TODO: find a better alternative
if (lastPlateableFruit.LoadState > LoadState.Ready)
if (lastPlateableFruit.IsLoaded)
action();
else
lastPlateableFruit.OnLoadComplete = _ => action();