1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 09:49:53 +08:00

Remove no longer necessary assert

This commit is contained in:
Salman Ahmed
2022-12-22 20:07:53 +03:00
Unverified
parent 5df440e20e
commit 8be6350c01
+1 -3
View File
@@ -1040,9 +1040,7 @@ namespace osu.Game
Logger.NewEntry += entry =>
{
if (entry.Level < LogLevel.Important || entry.Target == null || entry.Target > LoggingTarget.Database) return;
Debug.Assert(entry.Target != null);
if (entry.Level < LogLevel.Important || entry.Target > LoggingTarget.Database || entry.Target == null) return;
const int short_term_display_limit = 3;