mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 19:22:56 +08:00
Recover accidentally deleted codes
This commit is contained in:
parent
2653bd2f99
commit
60ef88844c
@ -173,6 +173,11 @@ namespace osu.Game.Database
|
||||
if (!Filename.EndsWith(realm_extension, StringComparison.Ordinal))
|
||||
Filename += realm_extension;
|
||||
|
||||
#if DEBUG
|
||||
if (!DebugUtils.IsNUnitRunning)
|
||||
applyFilenameSchemaSuffix(ref Filename);
|
||||
#endif
|
||||
|
||||
string newerVersionFilename = $"{Filename.Replace(realm_extension, string.Empty)}_newer_version{realm_extension}";
|
||||
|
||||
// Attempt to recover a newer database version if available.
|
||||
|
Loading…
Reference in New Issue
Block a user