diff --git a/project/SPT.Custom/Patches/FixBrokenSpawnOnSandboxPatch.cs b/project/SPT.Custom/Patches/FixBrokenSpawnOnSandboxPatch.cs index 89faf43..9937614 100644 --- a/project/SPT.Custom/Patches/FixBrokenSpawnOnSandboxPatch.cs +++ b/project/SPT.Custom/Patches/FixBrokenSpawnOnSandboxPatch.cs @@ -31,9 +31,9 @@ namespace SPT.Custom.Patches var playerLocation = gameWorld.MainPlayer.Location; - if (playerLocation == "Sandbox") + if (playerLocation == "Sandbox" || playerLocation == "Sandbox_high") { - LocationScene.GetAll().ToList().First(x => x.name == "ZoneSandbox").MaxPersonsOnPatrol = GetMaxPatrolValueFromServer(); + LocationScene.GetAll().ToList().First(zone => zone.name == "ZoneSandbox").MaxPersonsOnPatrol = GetMaxPatrolValueFromServer(); } }