mirror of
https://github.com/Impostor/Impostor.git
synced 2026-10-20 01:46:11 +00:00
Support Among Us beta 2020.10.08
This commit is contained in:
1 parent
d91c9d33b6
commit
ef21cf0445
1 file changed
+3
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user