Save all generated chunks instead of only chunks that were changed

This commit is contained in:
2026-10-11 02:02:01 -03:00
parent 44a39bf8ec
commit 5a59a63862
17 changed files with 644 additions and 314 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ import type { ModData, ModListing } from "$/common/mod_loader.ts";
import { load_worldgen } from "$/common/worldgen_loader.ts";
import { worldgen_bundle } from "$/common/worldgen_bundle.ts";
import { GameHost, GameServer } from "./game_server.ts";
import type { WorldSave } from "./saves.ts";
import type { WorldSource } from "./saves.ts";
import { ModRuntime } from "./mod_runtime.ts";
import { register_entity_type } from "./entity/entity_types.ts";
import { mod_entity_factory } from "./entity/mod_entity.ts";
@@ -29,7 +29,7 @@ export interface ServerModSource {
export async function start_game(
host: GameHost,
save: WorldSave | undefined,
save: WorldSource | undefined,
default_seed: string,
mods: ServerModSource[],
): Promise<GameServer> {