mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 14:32:55 +08:00
Change initial seed to a random number
This commit is contained in:
parent
a141a4e9e6
commit
95040f7edc
@ -4,6 +4,7 @@
|
||||
using System;
|
||||
using osu.Framework.Bindables;
|
||||
using osu.Framework.Logging;
|
||||
using osu.Framework.Utils;
|
||||
using osu.Game.Beatmaps;
|
||||
using osu.Game.Configuration;
|
||||
using osu.Game.Rulesets.Mods;
|
||||
@ -30,7 +31,7 @@ namespace osu.Game.Rulesets.Osu.Mods
|
||||
[SettingSource("Seed", "Seed for the random number generator")]
|
||||
public Bindable<string> Seed { get; } = new Bindable<string>
|
||||
{
|
||||
Value = "0"
|
||||
Value = RNG.Next().ToString()
|
||||
};
|
||||
|
||||
public void ApplyToBeatmap(IBeatmap beatmap)
|
||||
|
Loading…
Reference in New Issue
Block a user