mirror of https://github.com/ppy/osu
Don't add version suffixes when running unit tests
This commit is contained in:
parent
3c84b1a389
commit
ad3d00b1dc
|
@ -173,7 +173,8 @@ public RealmAccess(Storage storage, string filename, GameThread? updateThread =
|
|||
Filename += realm_extension;
|
||||
|
||||
#if DEBUG
|
||||
applyFilenameSchemaSuffix(ref Filename);
|
||||
if (!DebugUtils.IsNUnitRunning)
|
||||
applyFilenameSchemaSuffix(ref Filename);
|
||||
#endif
|
||||
|
||||
string newerVersionFilename = $"{Filename.Replace(realm_extension, string.Empty)}_newer_version{realm_extension}";
|
||||
|
|
Loading…
Reference in New Issue