Refactor "no match scene" handling

This commit is contained in:
WarmUpTill
2025-10-18 22:02:45 +02:00
committed by WarmUpTill
parent 602675b3b3
commit a82662c8f4
6 changed files with 28 additions and 53 deletions

View File

@@ -44,11 +44,6 @@ void SwitcherData::Prune()
}
}
if (nonMatchingScene && !WeakSourceValid(nonMatchingScene)) {
switchIfNotMatching = NoMatchBehavior::NO_SWITCH;
nonMatchingScene = nullptr;
}
for (size_t i = 0; i < randomSwitches.size(); i++) {
RandomSwitch &s = randomSwitches[i];
if (!s.valid()) {