Skip to content

Commit

Permalink
Fix double-print in numPlayersConnected
Browse files Browse the repository at this point in the history
  • Loading branch information
klightspeed committed Nov 13, 2020
1 parent a21496e commit 5cda461
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/arkmanager
Expand Up @@ -1024,6 +1024,7 @@ function numPlayersConnected(){
players="$(rconcmd listplayers 2>/dev/null)"
if [[ "$players" == '"'?*'"' ]]; then
echo "$players" | grep -c '[0-9]\.'
return
fi
fi
Expand Down

0 comments on commit 5cda461

Please sign in to comment.