Single module modding
This commit is contained in:
@@ -16,7 +16,7 @@ const options = { sanitizeOps: false, sanitizeResources: false };
|
||||
|
||||
async function pool_for(seed: string, workers: number) {
|
||||
const { game } = await test_game("mods", undefined, seed);
|
||||
// tests load worldgen scripts from files, so the workers need to read them
|
||||
// tests load worldgen phases from files, so the workers need to read them
|
||||
const started = start_worldgen_workers(workers, { permissions: "inherit", on_restart: () => {} });
|
||||
const pool = new WorldgenPool(started.ports as unknown as WorkerPort[], game.worldgen_bundle!);
|
||||
const chunks = new Map<number, RawChunk>();
|
||||
|
||||
Reference in New Issue
Block a user