From 1ec7c951a866d583a425470257b98c3d6701aaba Mon Sep 17 00:00:00 2001 From: Valentin Vanelslande Date: Mon, 10 Dec 2018 14:21:32 -0500 Subject: [PATCH] dedicated_room: allow maximum members = 254 Without this change, it will not accept 254 but it will say that the maximum is 254. --- src/dedicated_room/citra-room.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dedicated_room/citra-room.cpp b/src/dedicated_room/citra-room.cpp index 7765336a27..7d23c93f21 100644 --- a/src/dedicated_room/citra-room.cpp +++ b/src/dedicated_room/citra-room.cpp @@ -142,7 +142,7 @@ int main(int argc, char** argv) { std::cout << "preferred-game-id not set!\nThis should get set to allow users to find your " "room.\nSet with --preferred-game-id id\n\n"; } - if (max_members >= Network::MaxConcurrentConnections || max_members < 2) { + if (max_members > Network::MaxConcurrentConnections || max_members < 2) { std::cout << "max_members needs to be in the range 2 - " << Network::MaxConcurrentConnections << "!\n\n"; PrintHelp(argv[0]);