mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
fix(console): add missing argument to CVar::Set
This commit is contained in:
parent
ad147508a1
commit
0bc324fb97
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue