Server Import/Set Location Changes

- when changing the location, the profile will be updated to use the new config files.
This commit is contained in:
Brett Hewitson 2022-06-19 00:04:01 +10:00
parent a2d5c92c00
commit 7015523837
12 changed files with 100 additions and 27 deletions

View file

@ -70,7 +70,7 @@ namespace ServerManagerTool.Lib
public static Server FromPath(string path)
{
var loadedProfile = ServerProfile.LoadFrom(path);
var loadedProfile = ServerProfile.LoadFrom(path, profile: null);
if (loadedProfile == null)
return null;
return new Server(loadedProfile);