Skip to content

Commit

Permalink
Fix patches
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed Dec 27, 2024
1 parent c6cce0f commit 3bfffa9
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ internal class ScavProfileLoad_Override : ModulePatch
{
protected override MethodBase GetTargetMethod()
{
return typeof(TarkovApplication).GetMethod(nameof(TarkovApplication.method_49));
return typeof(TarkovApplication).GetMethod(nameof(TarkovApplication.method_48));
}

[PatchPrefix]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class TransitControllerAbstractClass_Exist_Patch : ModulePatch
{
protected override MethodBase GetTargetMethod()
{
return typeof(TransitControllerAbstractClass).GetMethod(nameof(TransitControllerAbstractClass.Exist)).MakeGenericMethod(typeof(GClass1642));
return typeof(TransitControllerAbstractClass).GetMethod(nameof(TransitControllerAbstractClass.Exist)).MakeGenericMethod(typeof(GClass1669));
}

[PatchPrefix]
Expand Down
2 changes: 1 addition & 1 deletion Fika.Core/FikaPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ private static void EnableFikaPatches()
new PlayEndGameSound_Patch().Enable();
new MenuScreen_Awake_Patch().Enable();
new GClass3574_ShowAction_Patch().Enable();
new MenuScreen_method_8_Patch().Enable();
new MenuScreen_method_9_Patch().Enable();
new HideoutPlayerOwner_SetPointOfView_Patch().Enable();
new RagfairScreen_Show_Patch().Enable();
new MatchmakerPlayerControllerClass_GetCoopBlockReason_Patch().Enable();
Expand Down
2 changes: 1 addition & 1 deletion Fika.Core/UI/Patches/AchievementView_Show_Patch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class AchievementView_Show_Patch : ModulePatch
{
protected override MethodBase GetTargetMethod()
{
return typeof(AchievementView).GetMethod("GInterface466.Show");
return typeof(AchievementView).GetMethod("GInterface479.Show");
}

[PatchPostfix]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

namespace Fika.Core.UI.Patches
{
public class MenuScreen_method_8_Patch : ModulePatch
public class MenuScreen_method_9_Patch : ModulePatch
{
protected override MethodBase GetTargetMethod()
{
return typeof(MenuScreen).GetMethod(nameof(MenuScreen.method_8));
return typeof(MenuScreen).GetMethod(nameof(MenuScreen.method_9));
}

[PatchPostfix]
Expand Down
2 changes: 1 addition & 1 deletion Fika.Core/UI/Patches/SessionResultExitStatus_Show_Patch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class SessionResultExitStatus_Show_Patch : ModulePatch
protected override MethodBase GetTargetMethod()
{
return typeof(SessionResultExitStatus).GetMethod(nameof(SessionResultExitStatus.Show), [typeof(Profile),
typeof(GClass1917),
typeof(GClass1945),
typeof(ESideType),
typeof(ExitStatus),
typeof(TimeSpan),
Expand Down

0 comments on commit 3bfffa9

Please sign in to comment.