From 01c9fc53e4c00ef711ac3009333df18c1c8ee4a9 Mon Sep 17 00:00:00 2001 From: lightbulblighter Date: Fri, 12 Aug 2022 02:12:16 -0700 Subject: [PATCH] show tadah games page if no args, small fixes --- Tadah.DLL/Hooks/CRoblox.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Tadah.DLL/Hooks/CRoblox.cpp b/Tadah.DLL/Hooks/CRoblox.cpp index 8cc1c11..873207c 100644 --- a/Tadah.DLL/Hooks/CRoblox.cpp +++ b/Tadah.DLL/Hooks/CRoblox.cpp @@ -47,15 +47,16 @@ BOOL __fastcall CRobloxApp__InitInstance_hook(CRobloxApp* _this) } #ifdef PLAYER - if (!hasAuthUrl || !hasAuthTicket || !hasJoinScriptUrl) + if (!hasAuthenticationUrl || !hasAuthenticationTicket || !hasJoinScriptUrl) { return FALSE; } #endif #ifdef SERVER - if (!hasAuthUrl || !hasAuthTicket || !hasJobId) + if (!hasAuthenticationUrl || !hasAuthenticationTicket || !hasJoinScriptUrl || !hasJobId) { + ShellExecute(0, 0, L"https://tadah.rocks/games", 0, 0, SW_SHOW); return FALSE; } #endif