mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 02:30:44 -05:00
fixed insurance screen patch (!114)
I am not entirely sure what the method name index of the added method is that has offset everything by one. There might be other patches affected by this that reference a method by name instead of signature but everything seems to work with just these two adjustments. I don't have a diff ready to easily spot where the offset happens and what else might potentially be affected. Reviewed-on: SPT-AKI/Modules#114 Co-authored-by: BluBb_mADe <ku21runy1k11@opayq.com> Co-committed-by: BluBb_mADe <ku21runy1k11@opayq.com>
This commit is contained in:
parent
199502d18a
commit
2abc1ab0ce
@ -32,7 +32,7 @@ namespace Aki.SinglePlayer.Patches.MainMenu
|
||||
// this.method_41();
|
||||
//}
|
||||
|
||||
return AccessTools.Method(typeof(MainMenuController), nameof(MainMenuController.method_72));
|
||||
return AccessTools.Method(typeof(MainMenuController), nameof(MainMenuController.method_73));
|
||||
}
|
||||
|
||||
[PatchPrefix]
|
||||
|
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user