0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-12 22:10:45 -05:00

Fixed patch not loading

This commit is contained in:
Dev 2024-05-16 10:20:48 +01:00
parent cc0934ade0
commit e14b8b88ae

View File

@ -46,7 +46,7 @@ namespace Aki.SinglePlayer.Patches.ScavMode
protected override MethodBase GetTargetMethod()
{
// `MatchMakerSelectionLocationScreen` OnShowNextScreen
return AccessTools.Method(typeof(MainMenuController), nameof(MainMenuController.method_70));
return AccessTools.Method(typeof(MainMenuController), nameof(MainMenuController.method_71));
}
[PatchTranspiler]
@ -129,7 +129,7 @@ namespace Aki.SinglePlayer.Patches.ScavMode
gclass.OnShowNextScreen += LoadOfflineRaidNextScreen;
// `MatchmakerOfflineRaidScreen` OnShowReadyScreen
gclass.OnShowReadyScreen += (OfflineRaidAction)Delegate.CreateDelegate(typeof(OfflineRaidAction), menuController, nameof(MainMenuController.method_74));
gclass.OnShowReadyScreen += (OfflineRaidAction)Delegate.CreateDelegate(typeof(OfflineRaidAction), menuController, nameof(MainMenuController.method_75));
gclass.ShowScreen(EScreenState.Queued);
}