From 68076e812f3f01da590049fe77268040a28ea739 Mon Sep 17 00:00:00 2001 From: cwisniew Date: Fri, 13 Sep 2024 10:03:26 +0930 Subject: [PATCH] update where init status gets recorded for add-ons --- .../net/rptools/maptool/model/library/addon/AddOnLibrary.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/rptools/maptool/model/library/addon/AddOnLibrary.java b/src/main/java/net/rptools/maptool/model/library/addon/AddOnLibrary.java index a24ad46892..8b933206aa 100644 --- a/src/main/java/net/rptools/maptool/model/library/addon/AddOnLibrary.java +++ b/src/main/java/net/rptools/maptool/model/library/addon/AddOnLibrary.java @@ -600,8 +600,8 @@ void initialize() { if (mtScriptEventNameMap.containsKey(FIRST_INIT_EVENT)) { callMTSFunction(mtScriptEventNameMap.get(FIRST_INIT_EVENT)) .join(); - data.setNeedsToBeInitialized(false).join(); } + data.setNeedsToBeInitialized(false).join(); } if (jsEventNameMap.containsKey(INIT_EVENT)) { runJS(jsEventNameMap.get(INIT_EVENT));