Commit 8e24bfa3 authored by user472393's avatar user472393
Browse files

sleep before mode_select to avoid parsing bots own output

parent a38f50ef
......@@ -418,7 +418,7 @@ player_query () {
ask=shiromino
esac
test -z "$ask" && ask=$game
printer "@$p2: (${elo_db[$p2]%.*}) want a $ask race with @$p1: (${elo_db[$p1]%.*})? reply !yes and you got it."
printer "@$p2 (${elo_db[$p2]%.*}) want a $ask race with @$p1 (${elo_db[$p1]%.*})? reply !yes and you got it."
sleep 1
......@@ -473,9 +473,9 @@ tosser () {
banner () {
for i in $coinlose $coinwin; do
printer "@$i (${elo_db[$i]%.*}) please ban 1 mode >>> $(for j in "${modes[@]}"; do printf '%s\t\t' "$j"; done)"
sleep 1
mode_select "$i"
tv_updater
sleep 1
done
}
......@@ -484,9 +484,9 @@ banner () {
#######
racer () {
printer "<<< the choice is yours @$coinwin (${elo_db[$coinwin]%.*}) >>> $(for i in "${modes[@]}"; do printf '%s\t\t' "$i"; done)"
sleep 1
mode_select "$coinwin"
tv_updater
sleep 1
g1loser="$loser"
printer "<<< then the choice is yours @$loser (${elo_db[$loser]%.*}) >>> $(for i in "${modes[@]}"; do printf '%s\t' "$i"; done)"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment