Fixed variables not being restored properly

This commit is contained in:
smallmodel 2023-12-28 17:31:36 +01:00
parent 2fa568eb01
commit 1178c619bc
No known key found for this signature in database
GPG key ID: A96F163ED4891440

View file

@ -456,7 +456,7 @@ void Menu::RestoreCVars
if( wid->m_cvarname.length() )
{
uii.Cvar_Set( wid->m_cvarvalue, "" );
uii.Cvar_Set( wid->m_cvarname, wid->m_cvarvalue );
}
}
}