fix(elimination_handler.cpp): actually allow MAX_SERVERS_PER_GAME

This commit is contained in:
Rim 2024-05-15 15:17:06 -04:00
parent de482bdfd0
commit 596d9f05f8

View File

@ -35,7 +35,7 @@ void elimination_handler::run_frame()
}
++server_count[server.game][context.get_address().to_string(false)];
if (server_count[server.game][context.get_address().to_string(false)] >= MAX_SERVERS_PER_GAME)
if (server_count[server.game][context.get_address().to_string(false)] > MAX_SERVERS_PER_GAME)
{
console::log("Removing server '%s' because it exceeds MAX_SERVERS_PER_GAME", context.get_address().to_string().data());
context.remove();