mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-18 19:12:44 +03:00
fix(console): add missing argument to CVar::Set
This commit is contained in:
parent
ad147508a1
commit
0bc324fb97
@ -371,7 +371,7 @@ int32_t SetCommandHandler(const char* command, const char* arguments) {
|
||||
|
||||
auto var = CVar::Lookup(cvarName);
|
||||
if (var) {
|
||||
var->Set(cvarValue, true, false, false);
|
||||
var->Set(cvarValue, true, false, false, true);
|
||||
} else {
|
||||
CVar::Register(cvarName, "", 0, cvarValue, nullptr, DEFAULT, true, nullptr, false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user