G1 COINS value

This commit is contained in:
fred 2023-02-12 16:15:49 +01:00
parent 274780d002
commit f72c77638c
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ $MY_PATH/jaklis/jaklis.py -k ~/.zen/game/players/${PLAYER}/secret.dunikey -n "ht
[[ $COINS == "" || $COINS == "null" ]] && COINS=0
echo "+++ YOU have $COINS Ğ1 Coins +++"
OLDCOINS=$(cat ~/.zen/game/players/${PLAYER}/ipfs/G1SSB/COINS 2>/dev/null)
[[ $OLDCOINS != $COIN && ! $COIN -lt 0 ]] \
[[ $OLDCOINS != $COINS && ! $COINS -lt 0 ]] \
&& ( cp ~/.zen/game/players/${PLAYER}/ipfs/G1SSB/COINS ~/.zen/game/players/${PLAYER}/ipfs/G1SSB/COINS.$MOATS 2>/dev/null; \
echo $COINS > ~/.zen/game/players/${PLAYER}/ipfs/G1SSB/COINS )
########################################################################