Shared state between client and server
This commit is contained in:
@@ -117,6 +117,7 @@ export async function start_host(options: HostOptions): Promise<Host> {
|
||||
data: bmod.data,
|
||||
server_code: bmod.scripts.server,
|
||||
worldgen_code: bmod.scripts.worldgen,
|
||||
shared_code: bmod.scripts.shared,
|
||||
})),
|
||||
} satisfies HostToGame,
|
||||
save.chunks.map((chunk) => chunk.data.buffer),
|
||||
|
||||
Reference in New Issue
Block a user