mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 20:35:58 +03:00
fix(console): fix SetCommandHandler
This commit is contained in:
parent
17fc9017e0
commit
089d5438a1
@ -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…
Reference in New Issue
Block a user