Skip to content

Commit cb87f1c

Browse files
committed
Fix file condition always returning false
1 parent 19eb507 commit cb87f1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macro-core/macro-condition-file.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ bool MacroConditionFile::CheckCondition()
159159
SetVariableValue(ret ? "true" : "false");
160160
}
161161

162-
return false;
162+
return ret;
163163
}
164164

165165
bool MacroConditionFile::Save(obs_data_t *obj) const

0 commit comments

Comments
 (0)