Random portals not working.

ok, so shady14u helped me with this. It looks like the (uint)DateTime.UtcNow.Millisecond is not working as intended. cutting it out resolves the problem.

Now I got random Portals!!!! :)

old example

			public Vector3? GetRandomPoint(PointType pointType)
			{
				if (pointType == PointType.Entrance)
				{
					if (Entrances.Count == 0)
						return null;

					return Entrances.GetRandom((uint)DateTime.UtcNow.Millisecond);
				}

				if (Exits.Count == 0)
					return null;

				return Exits.GetRandom((uint)DateTime.UtcNow.Millisecond);
			}

new example

			public Vector3? GetRandomPoint(PointType pointType)
			{
				if (pointType == PointType.Entrance)
				{
					if (Entrances.Count == 0)
						return null;

					return Entrances.GetRandom();
				}

				if (Exits.Count == 0)
					return null;

				return Exits.GetRandom();
			}

I hope this helps.

I know this is old, but does it also resolve the issue of players entering an Entrance at once and all being teleported to the same Exit?

I have not seen this in forever I might have to patch it again lol