Add support for registering additional save and load steps

Also renamed the reset steps to make it more clear what their use is.
This commit is contained in:
WarmUpTill
2023-08-12 20:46:05 +02:00
committed by WarmUpTill
parent 07b86dda41
commit 9c848938f8
5 changed files with 31 additions and 7 deletions

View File

@@ -334,7 +334,7 @@ void SwitcherData::ResetForNextInterval()
// Core reset functions
ClearWebsocketMessages();
// Plugin reset functions
for (const auto &func : resetForNextIntervalFuncs) {
for (const auto &func : resetIntervalSteps) {
func();
}
}