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:
parent
cc0934ade0
commit
e14b8b88ae
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user