]> git.deb.at Git - rhonda/impostor.git/commitdiff
Support Among Us beta 2020.10.08
authorAeonLucid <aeonlucid@gmail.com>
Wed, 14 Oct 2020 10:16:16 +0000 (12:16 +0200)
committerAeonLucid <aeonlucid@gmail.com>
Wed, 14 Oct 2020 10:16:16 +0000 (12:16 +0200)
src/Impostor.Server/Net/Manager/ClientManager.cs

index 38e29cbac193cc6d7bdc8507d63895f856d4a07d..a1a5ae47829f022aac6283bde34e7c4c89a73108 100644 (file)
@@ -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);