ALL PLAYER EVERYWHERE. 20H12 ONLY FOR ASTROPORT OFFICIAL
This commit is contained in:
parent
21ffedfbe3
commit
32dce24893
|
@ -14,7 +14,7 @@ MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
|
||||||
echo "## RUNNING PLAYER.refresh"
|
echo "## RUNNING PLAYER.refresh"
|
||||||
|
|
||||||
PLAYERONE="$1"
|
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))
|
[[ ! $PLAYERONE ]] && PLAYERONE=($(ls -t ~/.zen/game/players/ | grep -Ev "localhost" 2>/dev/null))
|
||||||
|
|
||||||
echo "FOUND : ${PLAYERONE[@]}"
|
echo "FOUND : ${PLAYERONE[@]}"
|
||||||
|
|
Loading…
Reference in New Issue