mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-08 23:49:56 +03:00
fix(console): fix SetCommandHandler
This commit is contained in:
1 parent
17fc9017e0
commit
089d5438a1
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user