fix match log only printing previous scene

This commit is contained in:
WarmUpTill
2020-10-18 17:43:28 +02:00
parent fd3be07024
commit 0b7faee84f

View File

@@ -20,7 +20,7 @@ void SceneSwitcherEntry::logMatch()
const char *sceneName = previous_scene_name;
if (!usePreviousScene) {
OBSSource s = obs_weak_source_get_source(scene);
const char *sceneName = obs_source_get_name(s);
sceneName = obs_source_get_name(s);
}
blog(LOG_INFO, "match for '%s' - switch to scene '%s'", getType(),
sceneName);