Script 'game-add': fix a stupid mistake.
This commit is contained in:
parent
4d1b31b5ff
commit
12544bdcd4
2
game-add
2
game-add
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user