bug(CRoblox): fix boolean logic

This commit is contained in:
rjindael 2023-07-27 23:05:23 -07:00
parent a25f1e34ef
commit a662d4a383
No known key found for this signature in database
GPG Key ID: D069369C906CCF31
1 changed files with 2 additions and 2 deletions

View File

@ -46,14 +46,14 @@ BOOL __fastcall CRobloxApp__InitInstance_hook(CRobloxApp* _this)
} }
#ifdef SERVER #ifdef SERVER
if (!hasAuthenticationUrl || !hasAuthenticationTicket || !hasJoinScriptUrl) if (!hasJobId)
{ {
return FALSE; return FALSE;
} }
#endif #endif
#ifdef PLAYER #ifdef PLAYER
if (!hasAuthenticationUrl || !hasAuthenticationTicket || !hasJoinScriptUrl || !hasJobId) if (!hasAuthenticationUrl || !hasAuthenticationTicket || !hasJoinScriptUrl)
{ {
ShellExecute(0, 0, L"https://kiseki.lol/games", 0, 0, SW_SHOW); ShellExecute(0, 0, L"https://kiseki.lol/games", 0, 0, SW_SHOW);
return FALSE; return FALSE;