feat(client): register showToolsUI CVar

This commit is contained in:
fallenoak 2025-10-20 21:21:56 -05:00
parent b04f55d859
commit 3226184a45
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -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) {