runtime fixes (Editor running)

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-05 19:31:12 -07:00
parent 6d79f1beee
commit 4358b6eb27
10 changed files with 55 additions and 109 deletions
+5 -2
View File
@@ -179,8 +179,11 @@ public:
CXConsoleVariableString(CXConsole* pConsole, const char* sName, const char* szDefault, int nFlags, const char* help)
: CXConsoleVariableBase(pConsole, sName, nFlags, help)
{
m_sValue = szDefault;
m_sDefault = szDefault;
if (szDefault)
{
m_sValue = szDefault;
m_sDefault = szDefault;
}
}
// interface ICVar --------------------------------------------------------------------------------------