Commit 0dac404f authored by Melledy's avatar Melledy
Browse files

Fix issue with groups that dont have any suites

parent cd77fb90
...@@ -587,10 +587,10 @@ public class Scene { ...@@ -587,10 +587,10 @@ public class Scene {
// Load suites // Load suites
int suite = group.init_config.suite; int suite = group.init_config.suite;
if (suite == 0) { if (suite == 0 || group.suites == null || group.suites.size() == 0) {
continue; continue;
} }
do { do {
var suiteData = group.getSuiteByIndex(suite); var suiteData = group.getSuiteByIndex(suite);
suiteData.sceneTriggers.forEach(getScriptManager()::registerTrigger); suiteData.sceneTriggers.forEach(getScriptManager()::registerTrigger);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment