Change initial seed to a random number

This commit is contained in:
Pasi4K5 2021-04-27 22:19:04 +02:00
parent a141a4e9e6
commit 95040f7edc
1 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
using System; using System;
using osu.Framework.Bindables; using osu.Framework.Bindables;
using osu.Framework.Logging; using osu.Framework.Logging;
using osu.Framework.Utils;
using osu.Game.Beatmaps; using osu.Game.Beatmaps;
using osu.Game.Configuration; using osu.Game.Configuration;
using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Mods;
@ -30,7 +31,7 @@ public class OsuModRandom : ModRandom, IApplicableToBeatmap
[SettingSource("Seed", "Seed for the random number generator")] [SettingSource("Seed", "Seed for the random number generator")]
public Bindable<string> Seed { get; } = new Bindable<string> public Bindable<string> Seed { get; } = new Bindable<string>
{ {
Value = "0" Value = RNG.Next().ToString()
}; };
public void ApplyToBeatmap(IBeatmap beatmap) public void ApplyToBeatmap(IBeatmap beatmap)