mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-11 17:04:00 +03:00
feat(client): register showToolsUI CVar
This commit is contained in:
1 file changed
+18
@@ -89,6 +89,24 @@ void ClientMiscInitialize() {
|
||||
);
|
||||
|
||||
// TODO
|
||||
|
||||
auto showToolsVar = CVar::Register(
|
||||
"showToolsUI",
|
||||
"Display the launcher when starting the game",
|
||||
0x0,
|
||||
"-1",
|
||||
nullptr,
|
||||
GAME,
|
||||
false,
|
||||
nullptr,
|
||||
false
|
||||
);
|
||||
|
||||
if (showToolsVar->GetInt() >= 2) {
|
||||
showToolsVar->Set("1", true, false, false, true);
|
||||
}
|
||||
|
||||
// TODO
|
||||
}
|
||||
|
||||
void ClientPostClose(int32_t a1) {
|
||||
|
||||
Reference in new issue
Block a user