From b5d3511e3c6225495d1aaae7fbfe7f85984d6763 Mon Sep 17 00:00:00 2001 From: DrakiaXYZ Date: Mon, 29 Apr 2024 20:57:33 +0000 Subject: [PATCH] Update missed method in LoadOfflineRaidScreenPatch (!115) Fixes the need to hit next twice to get to insurance screen This method was missed during the last commit made to update the methods Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com> Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Modules/pulls/115 Co-authored-by: DrakiaXYZ Co-committed-by: DrakiaXYZ --- .../Patches/ScavMode/LoadOfflineRaidScreenPatch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/Aki.SinglePlayer/Patches/ScavMode/LoadOfflineRaidScreenPatch.cs b/project/Aki.SinglePlayer/Patches/ScavMode/LoadOfflineRaidScreenPatch.cs index ec0eb52..de81bec 100644 --- a/project/Aki.SinglePlayer/Patches/ScavMode/LoadOfflineRaidScreenPatch.cs +++ b/project/Aki.SinglePlayer/Patches/ScavMode/LoadOfflineRaidScreenPatch.cs @@ -32,7 +32,7 @@ namespace Aki.SinglePlayer.Patches.ScavMode _ = MatchmakerPlayerControllerClass.MAX_SCAV_COUNT; // UPDATE REFS TO THIS CLASS BELOW !!! // `MatchmakerInsuranceScreen` OnShowNextScreen - _onReadyScreenMethod = AccessTools.Method(typeof(MainMenuController), nameof(MainMenuController.method_42)); + _onReadyScreenMethod = AccessTools.Method(typeof(MainMenuController), nameof(MainMenuController.method_44)); _isLocalField = AccessTools.Field(typeof(MainMenuController), "bool_0"); _menuControllerField = typeof(TarkovApplication).GetFields(PatchConstants.PrivateFlags).FirstOrDefault(x => x.FieldType == typeof(MainMenuController));