mirror of
https://github.com/ppy/osu
synced 2024-12-25 00:02:48 +00:00
Use a constant for lazer variables
This commit is contained in:
parent
d8f45f7299
commit
115a75e4c6
@ -120,7 +120,7 @@ namespace osu.Desktop.Overlays
|
||||
|
||||
Activated = delegate
|
||||
{
|
||||
changelog.ShowBuild("lazer", version);
|
||||
changelog.ShowBuild(OsuGameBase.CLIENT_STREAM_NAME, version);
|
||||
return true;
|
||||
};
|
||||
}
|
||||
|
@ -42,7 +42,7 @@ namespace osu.Game.Tests.Visual.Online
|
||||
{
|
||||
Version = "2018.712.0",
|
||||
DisplayVersion = "2018.712.0",
|
||||
UpdateStream = new APIUpdateStream { Name = "lazer" },
|
||||
UpdateStream = new APIUpdateStream { Name = OsuGameBase.CLIENT_STREAM_NAME },
|
||||
ChangelogEntries = new List<APIChangelogEntry>
|
||||
{
|
||||
new APIChangelogEntry
|
||||
|
@ -45,7 +45,7 @@ namespace osu.Game.Online.API.Requests.Responses
|
||||
case "cuttingedge":
|
||||
return new Color4(238, 170, 0, 255);
|
||||
|
||||
case "lazer":
|
||||
case OsuGameBase.CLIENT_STREAM_NAME:
|
||||
return new Color4(237, 18, 33, 255);
|
||||
|
||||
case "web":
|
||||
|
@ -44,6 +44,8 @@ namespace osu.Game
|
||||
/// </summary>
|
||||
public class OsuGameBase : Framework.Game, ICanAcceptFiles
|
||||
{
|
||||
public const string CLIENT_STREAM_NAME = "lazer";
|
||||
|
||||
protected OsuConfigManager LocalConfig;
|
||||
|
||||
protected BeatmapManager BeatmapManager;
|
||||
|
@ -80,7 +80,7 @@ namespace osu.Game.Overlays.Settings
|
||||
{
|
||||
if (game.IsDeployedBuild)
|
||||
{
|
||||
changelog?.ShowBuild("lazer", game.Version);
|
||||
changelog?.ShowBuild(OsuGameBase.CLIENT_STREAM_NAME, game.Version);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user