From a662d4a383b7aafb3ea19422cc1b3b2cc7304007 Mon Sep 17 00:00:00 2001 From: rjindael Date: Thu, 27 Jul 2023 23:05:23 -0700 Subject: [PATCH] bug(CRoblox): fix boolean logic --- Kiseki.Patcher/Source/Hooks/CRoblox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kiseki.Patcher/Source/Hooks/CRoblox.cpp b/Kiseki.Patcher/Source/Hooks/CRoblox.cpp index aecbeed..d87422d 100644 --- a/Kiseki.Patcher/Source/Hooks/CRoblox.cpp +++ b/Kiseki.Patcher/Source/Hooks/CRoblox.cpp @@ -46,14 +46,14 @@ BOOL __fastcall CRobloxApp__InitInstance_hook(CRobloxApp* _this) } #ifdef SERVER - if (!hasAuthenticationUrl || !hasAuthenticationTicket || !hasJoinScriptUrl) + if (!hasJobId) { return FALSE; } #endif #ifdef PLAYER - if (!hasAuthenticationUrl || !hasAuthenticationTicket || !hasJoinScriptUrl || !hasJobId) + if (!hasAuthenticationUrl || !hasAuthenticationTicket || !hasJoinScriptUrl) { ShellExecute(0, 0, L"https://kiseki.lol/games", 0, 0, SW_SHOW); return FALSE;