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
1 changed files with 2 additions and 1 deletions

View File

@ -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}";