From 12544bdcd41a91b2a953daddb24a915a3bbb3fb5 Mon Sep 17 00:00:00 2001 From: vonavi Date: Sat, 3 Oct 2015 23:20:31 +0300 Subject: [PATCH] Script 'game-add': fix a stupid mistake. --- game-add | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game-add b/game-add index 275a9bf..a71ab7d 100755 --- a/game-add +++ b/game-add @@ -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