mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-17 23:59:13 -05:00
Fix ignoring match of checkSwitchInfoFromFile() if checkFileContent() does not match
This commit is contained in:
parent
5d720219bf
commit
2af82fe22a
|
|
@ -585,8 +585,8 @@ bool SwitcherData::checkForMatch(OBSWeakSource &scene,
|
|||
for (int switchFuncName : functionNamesByPriority) {
|
||||
switch (switchFuncName) {
|
||||
case read_file_func:
|
||||
match = checkSwitchInfoFromFile(scene, transition);
|
||||
match = checkFileContent(scene, transition);
|
||||
match = checkSwitchInfoFromFile(scene, transition) ||
|
||||
checkFileContent(scene, transition);
|
||||
break;
|
||||
case idle_func:
|
||||
match = checkIdleSwitch(scene, transition);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user