From a5db818150e810cf394152f30ab1a3c3ca6b7991 Mon Sep 17 00:00:00 2001 From: PakkiSukibe Date: Tue, 10 Oct 2023 03:14:20 -0700 Subject: [PATCH] Fix missing initialize --- app/js/theatre_main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/js/theatre_main.js b/app/js/theatre_main.js index 04394b6..ad0cbb1 100644 --- a/app/js/theatre_main.js +++ b/app/js/theatre_main.js @@ -413,6 +413,8 @@ Hooks.on("renderChatMessage", function (ChatMessage, html, data) { Hooks.on("renderChatLog", function (app, html, data) { if (data.cssId === "chat-popout") return; theatre.initialize(); + window.Theatre = {} + window.Theatre.instance = theatre; // window may not be ready? console.log("%cTheatre Inserts", "font-weight: bold; font-size: 30px; font-style: italic; color: black;"); // NOTE: Closed alpha/beta is currently all rights reserved!