2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 03:47:43 +00:00

Minor fixes

This commit is contained in:
2019-09-29 08:17:01 -07:00
parent 7fd54effc9
commit 6b56f2e6a4
4 changed files with 5 additions and 4 deletions

View File

@@ -331,6 +331,8 @@ void CVarManager::proc() {
for (const auto& [name, cvar] : m_cvars) {
if (cvar->isModified() && !cvar->modificationRequiresRestart()) {
cvar->dispatch();
// Clear the modified flag now that we've informed everyone we've changed
cvar->clearModified();
}
}
}