Save all generated chunks instead of only chunks that were changed
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user