From a012b67e08ad349c6b35628488141ff9a60817a2 Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 23 Feb 2023 20:58:01 +0100 Subject: [PATCH] FOUND : ${PLAYERONE[@]} --- ASTROBOT/PLAYER.refresh.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ASTROBOT/PLAYER.refresh.sh b/ASTROBOT/PLAYER.refresh.sh index f3ae1c15..2b17a1d1 100755 --- a/ASTROBOT/PLAYER.refresh.sh +++ b/ASTROBOT/PLAYER.refresh.sh @@ -17,6 +17,8 @@ PLAYERONE="$1" [[ $isLAN ]] && PLAYERONE=$(cat ~/.zen/game/players/.current/.player 2>/dev/null) [[ ! $PLAYERONE ]] && PLAYERONE=($(ls -t ~/.zen/game/players/ | grep -Ev "localhost" 2>/dev/null)) +echo "FOUND : ${PLAYERONE[@]}" + ## RUNING FOR ALL LOCAL PLAYERS for PLAYER in ${PLAYERONE[@]}; do [[ ! -d ~/.zen/game/players/$PLAYER ]] && echo "BAD $PLAYERONE" && continue