mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 17:02:57 +08:00
debug assert closest != null
This commit is contained in:
parent
033c9091c0
commit
625ed729ee
@ -136,11 +136,11 @@ namespace osu.Game.Tournament.Screens.Drawings.Components
|
||||
closest = stc;
|
||||
}
|
||||
|
||||
Trace.Assert(closest != null, "closest != null");
|
||||
Debug.Assert(closest != null, "closest != null");
|
||||
|
||||
offset += DrawWidth / 2f - (closest.AsNonNull().Position.X + closest.AsNonNull().DrawWidth / 2f);
|
||||
offset += DrawWidth / 2f - (closest.Position.X + closest.DrawWidth / 2f);
|
||||
|
||||
ScrollingTeam st = closest.AsNonNull();
|
||||
ScrollingTeam st = closest;
|
||||
|
||||
availableTeams.RemoveAll(at => at == st.Team);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user