Merge pull request #1276 from Damnae/fix_player_loading

Fix player loading.
This commit is contained in:
Dean Herbert 2017-09-15 16:12:58 +09:00 committed by GitHub
commit 77252a76db
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ protected override void OnEntering(Screen last)
private void pushWhenLoaded() private void pushWhenLoaded()
{ {
if (!player.IsLoaded) if (player.LoadState != LoadState.Ready)
{ {
Schedule(pushWhenLoaded); Schedule(pushWhenLoaded);
return; return;