1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:52:53 +08:00

Remove no longer necessary assert

This commit is contained in:
Salman Ahmed 2022-12-22 20:07:53 +03:00
parent 5df440e20e
commit 8be6350c01

View File

@ -1040,9 +1040,7 @@ namespace osu.Game
Logger.NewEntry += entry => Logger.NewEntry += entry =>
{ {
if (entry.Level < LogLevel.Important || entry.Target == null || entry.Target > LoggingTarget.Database) return; if (entry.Level < LogLevel.Important || entry.Target > LoggingTarget.Database || entry.Target == null) return;
Debug.Assert(entry.Target != null);
const int short_term_display_limit = 3; const int short_term_display_limit = 3;