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 -1
View File
@@ -19,7 +19,7 @@ self.onmessage = (event: MessageEvent<{ port: MessagePort }>) => {
port.onmessage = async (event: MessageEvent<PoolToWorker>) => {
const message = event.data;
if (message.type === "init") {
// worldgen scripts with engine access hook engine.common here, in this worker's own copy of the engine
// worldgen phases with engine access hook engine.common here, in this worker's own copy of the engine
expose_engine({ common: common_engine() });
loaded = load_bundle(message.bundle);
try {