Commit 906da97f authored by SherryChaos's avatar SherryChaos

fix bug where the Expansions can not be deleted

parent b1a6acbf
...@@ -2230,6 +2230,7 @@ namespace MDPro3.UI.ServantUI ...@@ -2230,6 +2230,7 @@ namespace MDPro3.UI.ServantUI
}; };
UIManager.ShowPopupYesOrNo(selections, () => UIManager.ShowPopupYesOrNo(selections, () =>
{ {
ZipHelper.Dispose();
if (!Directory.Exists(Program.PATH_EXPANSIONS)) if (!Directory.Exists(Program.PATH_EXPANSIONS))
Directory.CreateDirectory(Program.PATH_EXPANSIONS); Directory.CreateDirectory(Program.PATH_EXPANSIONS);
foreach (var file in Directory.GetFiles(Program.PATH_EXPANSIONS)) foreach (var file in Directory.GetFiles(Program.PATH_EXPANSIONS))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment