Remove unused function

This commit is contained in:
WarmUpTill
2025-12-09 18:45:18 +01:00
committed by WarmUpTill
parent de20c93b14
commit 266e470509
3 changed files with 4 additions and 11 deletions

View File

@@ -948,12 +948,12 @@ bool Macro::PostLoad()
bool Macro::SwitchesScene() const
{
for (const auto &a : _actions) {
if (a->GetId() == GetSceneSwitchActionId()) {
if (a->GetId() == MacroAction::GetDefaultID()) {
return true;
}
}
for (const auto &a : _elseActions) {
if (a->GetId() == GetSceneSwitchActionId()) {
if (a->GetId() == MacroAction::GetDefaultID()) {
return true;
}
}