mirror of
https://github.com/ppy/osu.git
synced 2026-05-13 19:54:15 +08:00
Use more distinctive window title for tournament client
This is in response to feedback in https://discord.com/channels/188630481301012481/1097318920991559880/1359117234257268747. The long and short of it is that without a unique title it's a bit hard to tell in software like OBS which window is the game and which window is the tournament client if wanting to run both, which I can agree with.
This commit is contained in:
@@ -53,6 +53,14 @@ namespace osu.Game.Tournament
|
||||
return new ProductionEndpointConfiguration();
|
||||
}
|
||||
|
||||
public override void SetHost(GameHost host)
|
||||
{
|
||||
base.SetHost(host);
|
||||
|
||||
if (host.Window != null)
|
||||
host.Window.Title = $"{Name} [tournament client]";
|
||||
}
|
||||
|
||||
private TournamentSpriteText initialisationText = null!;
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
|
||||
Reference in New Issue
Block a user