From 70349d86a708c33a81873035a357e13c4146df12 Mon Sep 17 00:00:00 2001 From: Adam <897017+aSemy@users.noreply.github.com> Date: Sun, 13 Mar 2022 11:03:47 +0100 Subject: [PATCH] emit prototypes on_init (they don't seem to always emit, otherwise?) --- modules/events-mod/src/main/typescript/control.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/events-mod/src/main/typescript/control.ts b/modules/events-mod/src/main/typescript/control.ts index 18e9161..37ae877 100644 --- a/modules/events-mod/src/main/typescript/control.ts +++ b/modules/events-mod/src/main/typescript/control.ts @@ -23,4 +23,5 @@ script.on_init(() => { // runs only once (when the mod is first added to the save) initGlobal(true) KafkatorioSettings.loadSettings() + emitPrototypes() })