Update StarBaseScriptPane.cpp

This commit is contained in:
Kae 2023-07-30 01:28:43 +10:00
parent ffd1507f72
commit 31f5816e8a

View File

@ -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(); });