From 17405aadb80d9613013b2e91ab6a7dc4c3a41e76 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Wed, 2 Dec 2015 20:06:09 -0800 Subject: [PATCH] Set modified flag when deserializing CVars to propogate changes --- hecl/lib/CVarManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/hecl/lib/CVarManager.cpp b/hecl/lib/CVarManager.cpp index f7b81c29a..4f4fb7d4e 100755 --- a/hecl/lib/CVarManager.cpp +++ b/hecl/lib/CVarManager.cpp @@ -124,6 +124,7 @@ void CVarManager::deserialize(CVar* cvar) } cvar->m_value = tmp.m_value; + cvar->m_flags |= CVar::EFlags::Modified; } } }