Always point save dir to multiplayer folder

This commit is contained in:
2025-12-14 14:18:03 +01:00
parent 87f65320c0
commit a918262d99

View File

@@ -1190,18 +1190,14 @@ namespace KCM
public static bool Prefix(ref string __result) public static bool Prefix(ref string __result)
{ {
Main.helper.Log("Get save dir"); Main.helper.Log("Get save dir");
if (KCClient.client.IsConnected) if (KCServer.IsRunning || KCClient.client.IsConnected)
{ {
if (KCServer.IsRunning)
{
}
__result = Application.persistentDataPath + "/Saves/Multiplayer"; __result = Application.persistentDataPath + "/Saves/Multiplayer";
return false; return false;
} }
__result = Application.persistentDataPath + "/Saves"; ; __result = Application.persistentDataPath + "/Saves";
return true; return true;
} }
} }