mirror of https://github.com/ppy/osu
Merge pull request #27783 from 64ArthurAraujo/add-invalid-beatmap-hash-custom-message
Add custom message in the case of a `invalid beatmap_hash`
This commit is contained in:
commit
2e1d63a1c2
|
@ -152,6 +152,10 @@ void handleTokenFailure(Exception exception, bool displayNotification = false)
|
||||||
Logger.Log($"Please ensure that you are using the latest version of the official game releases.\n\n{whatWillHappen}", level: LogLevel.Important);
|
Logger.Log($"Please ensure that you are using the latest version of the official game releases.\n\n{whatWillHappen}", level: LogLevel.Important);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case @"invalid beatmap hash":
|
||||||
|
Logger.Log($"This beatmap does not match the online version. Please update or redownload it.\n\n{whatWillHappen}", level: LogLevel.Important);
|
||||||
|
break;
|
||||||
|
|
||||||
case @"expired token":
|
case @"expired token":
|
||||||
Logger.Log($"Your system clock is set incorrectly. Please check your system time, date and timezone.\n\n{whatWillHappen}", level: LogLevel.Important);
|
Logger.Log($"Your system clock is set incorrectly. Please check your system time, date and timezone.\n\n{whatWillHappen}", level: LogLevel.Important);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue