We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4164b01 commit ff61445Copy full SHA for ff61445
scripts/BASTARDrcon.pm
@@ -351,7 +351,7 @@ sub getVisiblePlayers
351
{
352
# "sv_visiblemaxplayers" = "-1"
353
# - Overrides the max players reported to prospective clients
354
- if ($line =~ /^\s*"sv_visiblemaxplayers"\s*=\s*"([-0-9]+)".*$/x)
+ if ($line =~ /^\s*"sv_visiblemaxplayers"\s*(?:=|is)\s*"([-0-9]+)".*$/x)
355
356
$max_players = $1;
357
}
0 commit comments