From f0d5286a206f4ab1d9f289dea892d3bee00d04a7 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Sun, 22 Oct 2023 11:13:16 -0400 Subject: [PATCH] Disable this validation until BYOND bug is fixed See https://www.byond.com/forum/post/2894866 --- .../Components/Session/SessionController.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Tgstation.Server.Host/Components/Session/SessionController.cs b/src/Tgstation.Server.Host/Components/Session/SessionController.cs index 42054f24fb..b33d3628a1 100644 --- a/src/Tgstation.Server.Host/Components/Session/SessionController.cs +++ b/src/Tgstation.Server.Host/Components/Session/SessionController.cs @@ -783,6 +783,9 @@ namespace Tgstation.Server.Host.Components.Session break; case BridgeCommandType.Startup: apiValidationStatus = ApiValidationStatus.BadValidationRequest; + + // This business is is cancelled until this BYOND bug is resolved: https://www.byond.com/forum/post/2894866 +#if FALSE if (apiValidationSession) { var proceedTcs = new TaskCompletionSource(); @@ -792,6 +795,7 @@ namespace Tgstation.Server.Host.Components.Session if (!firstValidationRequest) return BridgeError("Startup bridge request was repeated!"); } +#endif if (parameters.Version == null) return BridgeError("Missing dmApiVersion field!");