mirror of
https://github.com/ppy/osu.git
synced 2026-05-22 01:14:48 +08:00
Change initial seed to a random number
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user