Single module modding

This commit is contained in:
2026-11-14 12:18:41 -03:00
parent 605008f584
commit 313098892e
134 changed files with 919 additions and 924 deletions
+1 -3
View File
@@ -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) {