Single module modding
This commit is contained in:
@@ -120,9 +120,7 @@ async function init(message: Extract<HostToGame, { type: "init" }>) {
|
||||
listing: mod.listing,
|
||||
data: mod.data,
|
||||
// the worker has no file access, so the host sends the code and it's imported from memory
|
||||
server_url: mod.server_code ? data_url(mod.server_code) : undefined,
|
||||
worldgen_url: mod.worldgen_code ? data_url(mod.worldgen_code) : undefined,
|
||||
shared_url: mod.shared_code ? data_url(mod.shared_code) : undefined,
|
||||
url: mod.code ? data_url(mod.code) : undefined,
|
||||
})),
|
||||
);
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user