Skip to content

Commit

Permalink
Merge pull request #522 from xanunderscore/patch-13
Browse files Browse the repository at this point in the history
fix file exists check in PresetDatabase
  • Loading branch information
awgil authored Oct 6, 2024
2 parents 5a8c256 + 3f17dfe commit 1d049ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BossMod/Autorotation/PresetDatabase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public PresetDatabase(string rootPath, FileInfo? defaultPresets)
if (!_dbPath.Exists && (defaultPresets?.Exists ?? false))
defaultPresets.CopyTo(_dbPath.FullName);

if (_dbPath.Exists)
if (File.Exists(_dbPath.FullName))
{
try
{
Expand Down

0 comments on commit 1d049ab

Please sign in to comment.