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:
parent
87d9688ab2
commit
c340023378
@ -22,7 +22,7 @@ namespace Aki.Custom.BTR.Patches
|
|||||||
{
|
{
|
||||||
protected override MethodBase GetTargetMethod()
|
protected override MethodBase GetTargetMethod()
|
||||||
{
|
{
|
||||||
return AccessTools.Method(typeof(BTRTurretView), nameof(BTRTurretView.method_1));
|
return AccessTools.Method(typeof(BTRTurretView), nameof(BTRTurretView.method_3));
|
||||||
}
|
}
|
||||||
|
|
||||||
[PatchPrefix]
|
[PatchPrefix]
|
||||||
|
@ -32,7 +32,7 @@ namespace Aki.SinglePlayer.Patches.ScavMode
|
|||||||
_ = GClass3172.MAX_SCAV_COUNT; // UPDATE REFS TO THIS CLASS BELOW !!!
|
_ = GClass3172.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_43));
|
||||||
|
|
||||||
_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));
|
||||||
@ -46,7 +46,7 @@ namespace Aki.SinglePlayer.Patches.ScavMode
|
|||||||
protected override MethodBase GetTargetMethod()
|
protected override MethodBase GetTargetMethod()
|
||||||
{
|
{
|
||||||
// `MatchMakerSelectionLocationScreen` OnShowNextScreen
|
// `MatchMakerSelectionLocationScreen` OnShowNextScreen
|
||||||
return AccessTools.Method(typeof(MainMenuController), nameof(MainMenuController.method_68));
|
return AccessTools.Method(typeof(MainMenuController), nameof(MainMenuController.method_69));
|
||||||
}
|
}
|
||||||
|
|
||||||
[PatchTranspiler]
|
[PatchTranspiler]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user