chore: 优化点有的没的

This commit is contained in:
MistEO
2023-04-23 19:36:02 +08:00
parent a10ddb9268
commit 34247aac36

View File

@@ -215,12 +215,12 @@ namespace MaaWpfGui.Main
bool LoadResIfExists(string path)
{
if (Directory.Exists(path))
if (!Directory.Exists(path))
{
return AsstLoadResource(path);
return true;
}
return true;
return AsstLoadResource(path);
}
bool loaded = false;