0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-12 16:50:43 -05:00

Merge pull request 'Fix: Changed the way we obtain the enum for the bot back to the original method' (!10) from AiBrains into master

Reviewed-on: SPT-AKI/Modules#10
This commit is contained in:
chomp 2023-04-10 08:14:24 +00:00
commit 44b474a861

View File

@ -91,7 +91,7 @@ namespace Aki.Custom.Patches
private static bool BotIsSptPmc(WildSpawnType role)
{
return (long)role == -2147483648 || (long)role == 0;
return (int)role == AkiBotsPrePatcher.sptBearValue || (int)role == AkiBotsPrePatcher.sptUsecValue;
}
private static string GetCurrentMap()