mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 23:34:37 +01:00
Fix #9245: Headless servers apply Discord Rich Presence
This commit is contained in:
@@ -55,6 +55,7 @@
|
||||
- Fix: [#9152] Spectators can modify ride colours.
|
||||
- Fix: [#9202] Artefacts show when changing ride type as client or using in-game console.
|
||||
- Fix: [#9240] Crash when passing directory instead of save file.
|
||||
- Fix: [#9245] Headless servers apply Discord Rich Presence.
|
||||
- Fix: [#9293] Issue with the native load/save dialog.
|
||||
- Fix: [#9322] Peep crashing the game trying to find a ride to look at.
|
||||
- Fix: [#9324] Crash trying to remove invalid footpath scenery.
|
||||
|
||||
@@ -349,7 +349,10 @@ namespace OpenRCT2
|
||||
_replayManager = CreateReplayManager();
|
||||
_gameStateSnapshots = CreateGameStateSnapshots();
|
||||
#ifdef __ENABLE_DISCORD__
|
||||
_discordService = std::make_unique<DiscordService>();
|
||||
if (!gOpenRCT2Headless)
|
||||
{
|
||||
_discordService = std::make_unique<DiscordService>();
|
||||
}
|
||||
#endif
|
||||
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user