diff --git a/msctl b/msctl index 7506cb5..8638d34 100755 --- a/msctl +++ b/msctl @@ -1616,7 +1616,7 @@ queryDetailedStatusJSON() { if [ -n "$STATUS" ]; then NUMPLAYERS=$(printf "%s" "$STATUS" | cut -f 19) if [ $NUMPLAYERS -gt 0 ]; then - PLAYERS=$(printf "%s\"" "$PLAYERS" $(printf "%s" "$STATUS" | cut -f $((30)))) + PLAYERS=$(printf "\"%s\"" "$STATUS" | cut -f 30) COUNTER=1 while [ $COUNTER -lt $NUMPLAYERS ]; do PLAYERS=$(printf "%s, \"%s\"" "$PLAYERS" $(printf "%s" "$STATUS" | cut -f $((30+$COUNTER))))