mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
dont use is..or
syntax
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user