reset-world restores the original save (reset point in data/save_original), set-reset-point; per-player needs stored and returned; tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+3
-1
@@ -87,9 +87,11 @@ if (Array.IndexOf(args, "--import-save") >= 0)
|
||||
copied++;
|
||||
}
|
||||
GameServer.Log($"Imported {copied} save files from {source}");
|
||||
// Neuer Spielstand = alte Änderungen passen nicht mehr dazu
|
||||
// Neuer Spielstand = alte Änderungen passen nicht mehr dazu, und er ist der neue Reset-Punkt
|
||||
string world = Path.Combine(dataDir, "world.json");
|
||||
if (File.Exists(world)) File.Delete(world);
|
||||
string original = Path.Combine(dataDir, "save_original");
|
||||
if (Directory.Exists(original)) Directory.Delete(original, true);
|
||||
}
|
||||
|
||||
// Lizenzschlüssel beim Keymaster prüfen
|
||||
|
||||
Reference in New Issue
Block a user