mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-12 22:50:44 -05:00
Updated FixBrokenSpawnOnSandboxPatch
to account for sandbox_high map
This commit is contained in:
parent
ebc675b5f9
commit
7cf8a0c057
@ -31,9 +31,9 @@ namespace SPT.Custom.Patches
|
||||
|
||||
var playerLocation = gameWorld.MainPlayer.Location;
|
||||
|
||||
if (playerLocation == "Sandbox")
|
||||
if (playerLocation == "Sandbox" || playerLocation == "Sandbox_high")
|
||||
{
|
||||
LocationScene.GetAll<BotZone>().ToList().First(x => x.name == "ZoneSandbox").MaxPersonsOnPatrol = GetMaxPatrolValueFromServer();
|
||||
LocationScene.GetAll<BotZone>().ToList().First(zone => zone.name == "ZoneSandbox").MaxPersonsOnPatrol = GetMaxPatrolValueFromServer();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user