1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 21:03:21 +08:00

Change to lambda method

This commit is contained in:
Dan Balasescu 2022-03-14 13:54:54 +09:00
parent 4ae6cba080
commit 21beb8774d

View File

@ -69,7 +69,7 @@ namespace osu.Game
/// </summary>
private const double global_track_volume_adjust = 0.8;
public virtual 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!";
}