mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 07:22:54 +08:00
dont use is..or
syntax
This commit is contained in:
parent
422fdd8ae5
commit
5df440e20e
@ -1040,7 +1040,7 @@ namespace osu.Game
|
||||
|
||||
Logger.NewEntry += entry =>
|
||||
{
|
||||
if (entry.Level < LogLevel.Important || entry.Target is null or > LoggingTarget.Database) return;
|
||||
if (entry.Level < LogLevel.Important || entry.Target == null || entry.Target > LoggingTarget.Database) return;
|
||||
|
||||
Debug.Assert(entry.Target != null);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user