ALL PLAYER EVERYWHERE. 20H12 ONLY FOR ASTROPORT OFFICIAL

This commit is contained in:
fred 2023-02-27 03:44:39 +01:00
parent 21ffedfbe3
commit 32dce24893
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
echo "## RUNNING PLAYER.refresh"
PLAYERONE="$1"
[[ $isLAN ]] && PLAYERONE=$(cat ~/.zen/game/players/.current/.player 2>/dev/null)
# [[ $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[@]}"