mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 18:47:55 +08:00
chore: 优化点有的没的
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user