diff --git a/octgnFX/Octgn/JodsEngineIntegration.cs b/octgnFX/Octgn/JodsEngineIntegration.cs index 04e456a16..fc5706bbf 100644 --- a/octgnFX/Octgn/JodsEngineIntegration.cs +++ b/octgnFX/Octgn/JodsEngineIntegration.cs @@ -27,6 +27,11 @@ public class JodsEngineIntegration public Task HostGame(HostedGame hostedGame, HostedGameSource source, string username, string password) { DebugValidate(hostedGame, true); + //duct-tape fix for a game server bug where online-hosted games lose the chosen password + //TODO: remove this check when the bug is fixed server-side (see git issue ticket #2109) + if (!password.Equals(hostedGame.Password)) + hostedGame.Password = password; + var args = "-h "; if (CommandLineHandler.Instance.DevMode) args += "-x "; diff --git a/recentchanges.txt b/recentchanges.txt index 8b1378917..20d9a6689 100644 --- a/recentchanges.txt +++ b/recentchanges.txt @@ -1 +1 @@ - +Fixed a bug with hosting passworded games online