0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-13 06:10:45 -05:00

Updated to 32197

This commit is contained in:
Dev 2024-08-23 16:05:49 +01:00
parent 393d172c55
commit 17b83e6446
4 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ git config --local user.email "USERNAME@SOMETHING.com"
``` ```
## Requirements ## Requirements
- Escape From Tarkov 32128 - Escape From Tarkov 32197
- Visual Studio Code -OR- Visual Studio 2022 - Visual Studio Code -OR- Visual Studio 2022
- .NET 6 SDK - .NET 6 SDK
- [PowerShell v7](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows) - [PowerShell v7](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows)

View File

@ -61,7 +61,7 @@ namespace SPT.Debugging.Patches
} }
[PatchPrefix] [PatchPrefix]
public static bool PatchPrefix(GClass1573 __instance, BotCreationDataClass data) public static bool PatchPrefix(GClass1574 __instance, BotCreationDataClass data)
{ {
var firstBotRole = data.Profiles[0].Info.Settings.Role; var firstBotRole = data.Profiles[0].Info.Settings.Role;
if (firstBotRole != WildSpawnType.pmcBEAR || firstBotRole != WildSpawnType.pmcUSEC) if (firstBotRole != WildSpawnType.pmcBEAR || firstBotRole != WildSpawnType.pmcUSEC)

View File

@ -8,7 +8,7 @@ namespace SPT.SinglePlayer.Patches.MainMenu
{ {
protected override MethodBase GetTargetMethod() protected override MethodBase GetTargetMethod()
{ {
return AccessTools.Method(typeof(GClass1924), nameof(GClass1924.GetBoolForProfile)); return AccessTools.Method(typeof(GClass1925), nameof(GClass1925.GetBoolForProfile));
} }
[PatchPrefix] [PatchPrefix]

Binary file not shown.