diff --git a/lib/LinkWireless.hpp b/lib/LinkWireless.hpp index 06c0926..bd81fb4 100644 --- a/lib/LinkWireless.hpp +++ b/lib/LinkWireless.hpp @@ -321,7 +321,8 @@ class LinkWireless { stopTimer(); startTimer(); - if (!linkRawWireless->restoreExistingConnection()) { + if (!linkRawWireless->restoreExistingConnection() || + linkRawWireless->sessionState.playerCount > config.maxPlayers) { deactivate(); return false; }