mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 07:42:57 +08:00
Remove no longer necessary assert
This commit is contained in:
parent
5df440e20e
commit
8be6350c01
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user