1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Don't add version suffixes when running unit tests

This commit is contained in:
Dean Herbert 2022-08-05 18:23:41 +09:00
parent 3c84b1a389
commit ad3d00b1dc

View File

@ -173,7 +173,8 @@ namespace osu.Game.Database
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}";