mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-22 01:05:53 -05:00
fix match log only printing previous scene
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user