mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
use 'in' on PollService event args
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user