mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 09:10:44 -05:00
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: SPT-AKI/Modules#115 Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com> Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
This commit is contained in:
parent
cc2377bf72
commit
b5d3511e3c
@ -32,7 +32,7 @@ namespace Aki.SinglePlayer.Patches.ScavMode
|
|||||||
_ = MatchmakerPlayerControllerClass.MAX_SCAV_COUNT; // UPDATE REFS TO THIS CLASS BELOW !!!
|
_ = MatchmakerPlayerControllerClass.MAX_SCAV_COUNT; // UPDATE REFS TO THIS CLASS BELOW !!!
|
||||||
|
|
||||||
// `MatchmakerInsuranceScreen` OnShowNextScreen
|
// `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");
|
_isLocalField = AccessTools.Field(typeof(MainMenuController), "bool_0");
|
||||||
_menuControllerField = typeof(TarkovApplication).GetFields(PatchConstants.PrivateFlags).FirstOrDefault(x => x.FieldType == typeof(MainMenuController));
|
_menuControllerField = typeof(TarkovApplication).GetFields(PatchConstants.PrivateFlags).FirstOrDefault(x => x.FieldType == typeof(MainMenuController));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user