mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-08 15:39:55 +03:00
fix(console): add missing argument to CVar::Set
This commit is contained in:
1 parent
ad147508a1
commit
0bc324fb97
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user