Allow debug instances to coexist alongside release instances

This commit is contained in:
Dean Herbert 2024-01-21 10:55:52 +09:00
parent 82e7643df5
commit 2dedead1d1
No known key found for this signature in database
1 changed files with 5 additions and 0 deletions

View File

@ -80,7 +80,12 @@ namespace osu.Game
[Cached(typeof(OsuGame))]
public partial class OsuGame : OsuGameBase, IKeyBindingHandler<GlobalAction>, ILocalUserPlayInfo, IPerformFromScreenRunner, IOverlayManager, ILinkHandler
{
#if DEBUG
// Different port allows runnning release and debug builds alongside each other.
public const int IPC_PORT = 44824;
#else
public const int IPC_PORT = 44823;
#endif
/// <summary>
/// The amount of global offset to apply when a left/right anchored overlay is displayed (ie. settings or notifications).