From 3226184a45c49e402455d0e10d86d8b2c00644fb Mon Sep 17 00:00:00 2001 From: fallenoak Date: Mon, 20 Oct 2025 21:21:56 -0500 Subject: [PATCH] feat(client): register showToolsUI CVar --- src/client/Client.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/client/Client.cpp b/src/client/Client.cpp index 89c8924..43ac2ca 100644 --- a/src/client/Client.cpp +++ b/src/client/Client.cpp @@ -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) {