Fix using wrong path for singleplayer server conf

This commit is contained in:
dginovker 2023-11-06 04:53:58 +09:00
parent fb0dc2102c
commit 006a89551f

View file

@ -132,7 +132,7 @@ public static class SingleplayerManagement
}
private static Dictionary<string, string> _confCache;
private static string ConfPath => Path.Combine(CrossPlatform.GetSaradominHome(), "game", "worldprops", "default.conf");
private static string ConfPath => Path.Combine(CrossPlatform.GetSingleplayerHome(), "game", "worldprops", "default.conf");
public static Dictionary<string, string> GrabConfCache()
{
return File.ReadLines(ConfPath)