mirror of
https://github.com/ppy/osu.git
synced 2025-01-30 07:32:55 +08:00
Fix intended random factor not being random in test
This commit is contained in:
parent
ee33c0be93
commit
631a0cea41
@ -109,7 +109,7 @@ namespace osu.Game.Tests.Visual.Gameplay
|
|||||||
{
|
{
|
||||||
foreach (var userId in PlayingUsers)
|
foreach (var userId in PlayingUsers)
|
||||||
{
|
{
|
||||||
if (RNG.Next(0, 1) == 1)
|
if (RNG.NextBool())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (!lastHeaders.TryGetValue(userId, out var header))
|
if (!lastHeaders.TryGetValue(userId, out var header))
|
||||||
|
Loading…
Reference in New Issue
Block a user