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 {
// Load suites
int suite = group.init_config.suite;
if (suite == 0) {
if (suite == 0 || group.suites == null || group.suites.size() == 0) {
continue;
}
do {
var suiteData = group.getSuiteByIndex(suite);
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