diff --git a/BigBaseV2/src/hooks/disable_error_screen.cpp b/BigBaseV2/src/hooks/disable_error_screen.cpp index 799b4a64..9f20662b 100644 --- a/BigBaseV2/src/hooks/disable_error_screen.cpp +++ b/BigBaseV2/src/hooks/disable_error_screen.cpp @@ -16,8 +16,8 @@ namespace big BOOL background ) { - if (SCRIPT::GET_HASH_OF_THIS_SCRIPT_NAME() != RAGE_JOAAT("shop_controller")) - return g_hooking->m_error_screen_hook.get_original()(entryHeader, entryLine1, instructionalKey, entryLine2, p4, p5, p6, p7, background); - return; + if (SCRIPT::GET_HASH_OF_THIS_SCRIPT_NAME() == RAGE_JOAAT("shop_controller")) return; + + return g_hooking->m_error_screen_hook.get_original()(entryHeader, entryLine1, instructionalKey, entryLine2, p4, p5, p6, p7, background); } } \ No newline at end of file