mirror of
https://github.com/osukey/osukey.git
synced 2025-05-25 23:47:30 +09:00
Ignore case sensitivity during message comparison
Co-authored-by: Dan Balasescu <smoogipoo@smgi.me>
This commit is contained in:
parent
794a131954
commit
fd92bcdff2
@ -1042,7 +1042,7 @@ namespace osu.Game
|
|||||||
|
|
||||||
Logger.NewEntry += entry =>
|
Logger.NewEntry += entry =>
|
||||||
{
|
{
|
||||||
if (entry.Level < LogLevel.Important || entry.Target != LoggingTarget.Input || !entry.Message.StartsWith(tablet_prefix, StringComparison.Ordinal))
|
if (entry.Level < LogLevel.Important || entry.Target != LoggingTarget.Input || !entry.Message.StartsWith(tablet_prefix, StringComparison.OrdinalIgnoreCase))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
string message = entry.Message.Replace(tablet_prefix, string.Empty);
|
string message = entry.Message.Replace(tablet_prefix, string.Empty);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user