Fix nested macro actions being executed twice when added to a queue

This commit is contained in:
WarmUpTill 2026-06-16 20:29:11 +02:00 committed by WarmUpTill
parent 7dfd9ddcb5
commit 2073ef6ce9

View File

@ -263,6 +263,7 @@ bool MacroActionMacro::Load(obs_data_t *obj)
if (obs_data_has_user_value(obj, "nestedMacro")) {
OBSDataAutoRelease nestedMacroData =
obs_data_get_obj(obj, "nestedMacro");
_nestedMacro = std::make_shared<Macro>();
_nestedMacro->Load(nestedMacroData);
}