1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 20:13:22 +08:00

Fix intended random factor not being random in test

This commit is contained in:
Bartłomiej Dach 2020-12-19 21:25:04 +01:00
parent ee33c0be93
commit 631a0cea41

View File

@ -109,7 +109,7 @@ namespace osu.Game.Tests.Visual.Gameplay
{
foreach (var userId in PlayingUsers)
{
if (RNG.Next(0, 1) == 1)
if (RNG.NextBool())
continue;
if (!lastHeaders.TryGetValue(userId, out var header))