use 'in' on PollService event args

This commit is contained in:
UbitUmarov
2022-10-16 17:36:17 +01:00
parent 8895577c80
commit 0df9802aa3
10 changed files with 91 additions and 106 deletions

View File

@@ -6162,7 +6162,7 @@ namespace OpenSim.Region.Framework.Scenes
goto case "sequence";
do
{
index = Util.RandomClass.Next(spawnPoints.Length - 1);
index = Random.Shared.Next(spawnPoints.Length - 1);
spawnPosition = spawnPoints[index].GetLocation(teleHubPosition, teleHubRotation);
land = m_scene.LandChannel.GetLandObject(spawnPosition.X,spawnPosition.Y);