]> git.deb.at Git - rhonda/impostor.git/commit
Deprecate JoinGame errors
authorminiduikboot <mini@duikbo.at>
Wed, 16 Feb 2022 21:31:23 +0000 (22:31 +0100)
committerminiduikboot <mini@duikbo.at>
Sat, 26 Feb 2022 18:08:57 +0000 (19:08 +0100)
commit919b0940185db622074846e98098c7942f417ff8
tree63a0c5bbdf93ef5bb8a864e461a769ce24ae9a0e
parent6125fd7006dad5cd2ff5ac4cb4a88524b6236c63
Deprecate JoinGame errors

Starting from version 2021.11.9, join errors no longer exist, instead a
client will show the message "An unknown error disconnected you from the
server". As a workaround, the connection is disconnected entirely when
an error occurs, which allows us to show a custom message.
src/Impostor.Api/Net/Messages/S2C/Message01JoinGameS2C.cs
src/Impostor.Server/Net/Manager/ClientManager.cs
src/Impostor.Server/Net/Redirector/ClientRedirector.cs