MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / SetMacroSwitchedScene

Function SetMacroSwitchedScene

lib/macro/macro-helpers.cpp:180–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180void SetMacroSwitchedScene(bool value)
181{
182 static bool setupDone = false;
183 if (!setupDone) {
184 AddIntervalResetStep([]() { macroSceneSwitched = false; });
185 setupDone = true;
186 }
187 macroSceneSwitched = value;
188}
189
190bool MacroSwitchedScene()
191{

Callers 1

CheckMacrosFunction · 0.85

Calls 1

AddIntervalResetStepFunction · 0.50

Tested by

no test coverage detected