mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
fix(console): fix SetCommandHandler
This commit is contained in:
parent
17fc9017e0
commit
089d5438a1
1 changed files with 1 additions and 1 deletions
|
|
@ -372,7 +372,7 @@ int32_t SetCommandHandler(const char* command, const char* arguments) {
|
||||||
if (var) {
|
if (var) {
|
||||||
var->Set(cvarValue, true, false, false);
|
var->Set(cvarValue, true, false, false);
|
||||||
} else {
|
} else {
|
||||||
CVar::Register(cvarName, "", 0, cvarValue, nullptr, )
|
CVar::Register(cvarName, "", 0, cvarValue, nullptr, DEFAULT, true, nullptr, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue