mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 07:43:00 +08:00
Add null check.
This commit is contained in:
parent
154226b9a3
commit
a114463678
@ -29,7 +29,8 @@ namespace osu.Game.GameModes
|
||||
protected override double OnEntering(GameMode last)
|
||||
{
|
||||
//only show the pop button if we are entered form another gamemode.
|
||||
popButton.Alpha = 1;
|
||||
if (last != null)
|
||||
popButton.Alpha = 1;
|
||||
|
||||
MoveTo(new Vector2(ActualSize.X, 0));
|
||||
MoveTo(Vector2.Zero, transition_time, EasingTypes.OutQuint);
|
||||
|
Loading…
Reference in New Issue
Block a user