mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 02:10:45 -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:
commit
44b474a861
@ -91,7 +91,7 @@ namespace Aki.Custom.Patches
|
|||||||
|
|
||||||
private static bool BotIsSptPmc(WildSpawnType role)
|
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()
|
private static string GetCurrentMap()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user