mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 15:12:57 +08:00
Wait for full player load
This commit is contained in:
parent
e9ebbd298d
commit
263b8ff097
@ -27,7 +27,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Spectate
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether a <see cref="Player"/> is loaded in the area.
|
/// Whether a <see cref="Player"/> is loaded in the area.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool PlayerLoaded => stack?.CurrentScreen is Player;
|
public bool PlayerLoaded => (stack?.CurrentScreen as Player)?.IsLoaded == true;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The user id this <see cref="PlayerArea"/> corresponds to.
|
/// The user id this <see cref="PlayerArea"/> corresponds to.
|
||||||
|
Loading…
Reference in New Issue
Block a user