From: AeonLucid Date: Wed, 14 Oct 2020 10:16:16 +0000 (+0200) Subject: Support Among Us beta 2020.10.08 X-Git-Tag: v1.2.2~114 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=ef21cf0445416f86100cfc1f3b87407b10966ef9;p=rhonda%2Fimpostor.git Support Among Us beta 2020.10.08 --- diff --git a/src/Impostor.Server/Net/Manager/ClientManager.cs b/src/Impostor.Server/Net/Manager/ClientManager.cs index 38e29cb..a1a5ae4 100644 --- a/src/Impostor.Server/Net/Manager/ClientManager.cs +++ b/src/Impostor.Server/Net/Manager/ClientManager.cs @@ -40,7 +40,9 @@ namespace Impostor.Server.Net.Manager public async ValueTask RegisterConnectionAsync(IConnection connection, string name, int clientVersion) { - if (clientVersion != 50516550) + // 50516550 = 2020.09.22 + // 50518400 = 2020.10.08 + if (clientVersion != 50516550 && clientVersion != 50518400) { using var packet = connection.CreateMessage(MessageType.Reliable); Message01JoinGame.SerializeError(packet, false, DisconnectReason.IncorrectVersion);