show tadah games page if no args, small fixes

This commit is contained in:
lightbulblighter 2022-08-12 02:12:16 -07:00
parent 1a98d4bad1
commit 01c9fc53e4
No known key found for this signature in database
GPG Key ID: 58D6EDC2C38C9B3B
1 changed files with 3 additions and 2 deletions

View File

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