Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/frontend/StarBaseScriptPane.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/frontend/StarBaseScriptPane.cpp b/source/frontend/StarBaseScriptPane.cpp
index ca9a89c..6db092d 100644
--- a/source/frontend/StarBaseScriptPane.cpp
+++ b/source/frontend/StarBaseScriptPane.cpp
@@ -25,7 +25,7 @@ BaseScriptPane::BaseScriptPane(Json config) : Pane(), m_rawConfig(config) {
m_config = assets->fetchJson(config);
}
- m_interactive = config.getBool("interactive", true);
+ m_interactive = m_config.getBool("interactive", true);
m_reader = make_shared<GuiReader>();
m_reader->registerCallback("close", [this](Widget*) { dismiss(); });