mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 20:32:55 +08:00
Merge pull request #17240 from smoogipoo/expose-use-development-server
Expose `UseDevelopmentServer` as virtual
This commit is contained in:
commit
ffd87e78af
@ -69,7 +69,7 @@ namespace osu.Game
|
||||
/// </summary>
|
||||
private const double global_track_volume_adjust = 0.8;
|
||||
|
||||
public bool UseDevelopmentServer { get; }
|
||||
public virtual bool UseDevelopmentServer => DebugUtils.IsDebugBuild;
|
||||
|
||||
public virtual Version AssemblyVersion => Assembly.GetEntryAssembly()?.GetName().Version ?? new Version();
|
||||
|
||||
@ -177,7 +177,6 @@ namespace osu.Game
|
||||
|
||||
public OsuGameBase()
|
||||
{
|
||||
UseDevelopmentServer = DebugUtils.IsDebugBuild;
|
||||
Name = @"osu!";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user