Small fix

This commit is contained in:
Federico Cecchetto 2021-04-25 00:33:01 +02:00
parent da21ae02ac
commit dae25531ac

View File

@ -188,7 +188,8 @@ namespace game_console
for (const auto& dvar : dvars::dvar_list)
{
if (match_compare(input, dvar, exact))
auto name = utils::string::to_lower(dvar);
if (match_compare(input, name, exact))
{
suggestions.push_back(dvar);
}