1
Fork 0

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

master
vonavi 2015-10-03 23:20:31 +03:00
parent 4d1b31b5ff
commit 12544bdcd4
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ function game_get_info {
game_get_names
# 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."
# Find the white and black players