Skip to content

Commit

Permalink
Fixed a bug where static events would fail to halt propagation.
Browse files Browse the repository at this point in the history
Signed-off-by: CandiceJoy <candice@candicejoy.com>
  • Loading branch information
CandiceJoy authored and coelckers committed Jan 12, 2023
1 parent 81e7d77 commit 955a841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/events.cpp
Expand Up @@ -511,7 +511,7 @@ bool EventManager::Responder(const event_t* ev)
return true; // event was processed
}
}
if (ShouldCallStatic(false)) uiProcessorsFound = staticEventManager.Responder(ev);
if (ShouldCallStatic(false) && staticEventManager.Responder(ev)) return true;

return false;
}
Expand Down

0 comments on commit 955a841

Please sign in to comment.