mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 03:30:44 -05:00
Fixed a couple runtime errors
This commit is contained in:
parent
655ef5bb7b
commit
eaf0c40d46
@ -15,9 +15,7 @@ namespace Aki.Core.Patches
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// NOTE: This doesn't actually check the below, GClass vs Class
|
var type = PatchConstants.EftTypes.SingleOrDefault(t => t.GetField("TransportPrefixes") != null);
|
||||||
_ = GClass259.DEBUG_LOGIC; // UPDATE BELOW LINE TOO
|
|
||||||
var type = PatchConstants.EftTypes.Single(t => t.Name == "Class259");
|
|
||||||
|
|
||||||
if (type == null)
|
if (type == null)
|
||||||
{
|
{
|
||||||
|
@ -48,7 +48,7 @@ namespace Aki.SinglePlayer.Patches.ScavMode
|
|||||||
protected override MethodBase GetTargetMethod()
|
protected override MethodBase GetTargetMethod()
|
||||||
{
|
{
|
||||||
// `MatchMakerSelectionLocationScreen` OnShowNextScreen
|
// `MatchMakerSelectionLocationScreen` OnShowNextScreen
|
||||||
return typeof(MainMenuController).GetMethod("method_66", PatchConstants.PrivateFlags);
|
return typeof(MainMenuController).GetMethod("method_68", PatchConstants.PrivateFlags);
|
||||||
}
|
}
|
||||||
|
|
||||||
[PatchTranspiler]
|
[PatchTranspiler]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user