]> git.deb.at Git - rhonda/impostor.git/commit
Reorder GameFull and GameStarted join errors
authorminiduikboot <mini@duikbo.at>
Tue, 7 Mar 2023 23:09:41 +0000 (00:09 +0100)
committerminiduikboot <mini@duikbo.at>
Wed, 8 Mar 2023 19:46:29 +0000 (20:46 +0100)
commitdede1c5b09f603f55df140c086e145481835901e
treed46e47d571830768669e6c6e75798aaafef68bd1
parentb31e3bf1e35bd6d81ee6f0283e737d7f19e8afd2
Reorder GameFull and GameStarted join errors

If a game is in progress, a player can't join it anyway and spam-joining
to see if a spot becomes available is useless. So the GameFull error is
more important than the GameStarted error, therefore reorder them.

Closes: #518
src/Impostor.Server/Net/State/Game.Incoming.cs