mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 09:50:43 -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()
|
protected override MethodBase GetTargetMethod()
|
||||||
{
|
{
|
||||||
// `MatchMakerSelectionLocationScreen` OnShowNextScreen
|
// `MatchMakerSelectionLocationScreen` OnShowNextScreen
|
||||||
return AccessTools.Method(typeof(MainMenuController), nameof(MainMenuController.method_70));
|
return AccessTools.Method(typeof(MainMenuController), nameof(MainMenuController.method_71));
|
||||||
}
|
}
|
||||||
|
|
||||||
[PatchTranspiler]
|
[PatchTranspiler]
|
||||||
@ -129,7 +129,7 @@ namespace Aki.SinglePlayer.Patches.ScavMode
|
|||||||
gclass.OnShowNextScreen += LoadOfflineRaidNextScreen;
|
gclass.OnShowNextScreen += LoadOfflineRaidNextScreen;
|
||||||
|
|
||||||
// `MatchmakerOfflineRaidScreen` OnShowReadyScreen
|
// `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);
|
gclass.ShowScreen(EScreenState.Queued);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user