0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-13 09:50:43 -05:00

Some more fixes preventing scav raids from working also btr fix

This commit is contained in:
Kaeno 2024-02-12 12:01:27 +00:00
parent 87d9688ab2
commit c340023378
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ namespace Aki.Custom.BTR.Patches
{
protected override MethodBase GetTargetMethod()
{
return AccessTools.Method(typeof(BTRTurretView), nameof(BTRTurretView.method_1));
return AccessTools.Method(typeof(BTRTurretView), nameof(BTRTurretView.method_3));
}
[PatchPrefix]

View File

@ -32,7 +32,7 @@ namespace Aki.SinglePlayer.Patches.ScavMode
_ = GClass3172.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_43));
_isLocalField = AccessTools.Field(typeof(MainMenuController), "bool_0");
_menuControllerField = typeof(TarkovApplication).GetFields(PatchConstants.PrivateFlags).FirstOrDefault(x => x.FieldType == typeof(MainMenuController));
@ -46,7 +46,7 @@ namespace Aki.SinglePlayer.Patches.ScavMode
protected override MethodBase GetTargetMethod()
{
// `MatchMakerSelectionLocationScreen` OnShowNextScreen
return AccessTools.Method(typeof(MainMenuController), nameof(MainMenuController.method_68));
return AccessTools.Method(typeof(MainMenuController), nameof(MainMenuController.method_69));
}
[PatchTranspiler]