mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 16:22:45 +03:00
feat(client): register showToolsUI CVar
This commit is contained in:
parent
b04f55d859
commit
3226184a45
@ -89,6 +89,24 @@ void ClientMiscInitialize() {
|
|||||||
);
|
);
|
||||||
|
|
||||||
// TODO
|
// 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) {
|
void ClientPostClose(int32_t a1) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user