Script 'game-add': fix a stupid mistake.

This commit is contained in:
vonavi 2015-10-03 23:20:31 +03:00
parent 4d1b31b5ff
commit 12544bdcd4

View File

@ -120,7 +120,7 @@ function game_get_info {
game_get_names game_get_names
# Select the names of two players # Select the names of two players
local players=( $(echo -en "${ply_names// /\n}" | sort -u) ) local players=( $(echo -en "${ply_names// /$'\n'}" | sort -u) )
[[ ${#players[@]} == 2 ]] || die "Players of the games are not the same." [[ ${#players[@]} == 2 ]] || die "Players of the games are not the same."
# Find the white and black players # Find the white and black players