Fix macro hotkeys not working

This commit is contained in:
WarmUpTill
2021-11-17 20:59:03 +01:00
committed by WarmUpTill
parent c40a3af8ca
commit 00fec4b573
5 changed files with 23 additions and 23 deletions

View File

@@ -95,7 +95,7 @@ struct SwitcherData {
Duration cooldown;
std::chrono::high_resolution_clock::time_point lastMatchTime;
std::deque<Macro> macros;
std::deque<std::shared_ptr<Macro>> macros;
std::condition_variable macroWaitCv;
std::atomic_bool abortMacroWait = {false};
bool macroSceneSwitched = false;