1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 23:27:15 +08:00

Recover accidentally deleted codes

This commit is contained in:
cdwcgt
2022-11-21 17:09:56 +09:00
Unverified
parent 2653bd2f99
commit 60ef88844c
+5
View File
@@ -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.