mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-18 19:12:44 +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) {
|
||||
var->Set(cvarValue, true, false, false);
|
||||
} else {
|
||||
CVar::Register(cvarName, "", 0, cvarValue, nullptr, )
|
||||
CVar::Register(cvarName, "", 0, cvarValue, nullptr, DEFAULT, true, nullptr, false);
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user