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

fix debug patch

This commit is contained in:
CWX 2024-07-04 21:56:34 +01:00
parent f7ce462761
commit 009d0b70b1

View File

@ -61,7 +61,7 @@ namespace SPT.Debugging.Patches
} }
[PatchPrefix] [PatchPrefix]
public static bool PatchPrefix(GClass1483 __instance, BotCreationDataClass data) public static bool PatchPrefix(GClass1502 __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)