mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 07:22: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>
|
/// </summary>
|
||||||
private const double global_track_volume_adjust = 0.8;
|
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();
|
public virtual Version AssemblyVersion => Assembly.GetEntryAssembly()?.GetName().Version ?? new Version();
|
||||||
|
|
||||||
@ -177,7 +177,6 @@ namespace osu.Game
|
|||||||
|
|
||||||
public OsuGameBase()
|
public OsuGameBase()
|
||||||
{
|
{
|
||||||
UseDevelopmentServer = DebugUtils.IsDebugBuild;
|
|
||||||
Name = @"osu!";
|
Name = @"osu!";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user