mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-13 21:26:42 -05:00
Fix "Screenshot" action variable selection not being loaded
This commit is contained in:
parent
f9e73a2b8f
commit
ed0963799c
|
|
@ -131,8 +131,7 @@ bool MacroActionScreenshot::Load(obs_data_t *obj)
|
|||
_targetType =
|
||||
static_cast<TargetType>(obs_data_get_int(obj, "targetType"));
|
||||
_path.Load(obj, "savePath");
|
||||
_variable =
|
||||
GetWeakVariableByName(obs_data_get_string(obj, "variableName"));
|
||||
_variable = GetWeakVariableByName(obs_data_get_string(obj, "variable"));
|
||||
|
||||
// TODO: Remove fallback for older versions
|
||||
if (!obs_data_has_user_value(obj, "version")) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user