Is there a way to prevent that the arena is spawned on train tracks?
Arena spawning on train tracks
if ((TerrainMeta.TopologyMap.GetTopology(position, zoneRadius + 15f) & (int)(TerrainTopology.Enum.Rail | TerrainTopology.Enum.Railside)) != 0)
{
position = Vector3.zero;
}
else if (TerrainMeta.Path?.Rails?.Exists(pathList => pathList?.Path?.Points != null && Array.Exists(pathList.Path.Points, b => (position - b).magnitude <= zoneRadius + 15f)) ?? false)
{
position = Vector3.zero;
}you can add this on line 5760 and see if that works.