1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 19:05:37 +08:00

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

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 @@ namespace osu.Game.Rulesets.Osu.Mods
[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)