diff --git a/12345.sh b/12345.sh index e2646ebd..ef5a1289 100755 --- a/12345.sh +++ b/12345.sh @@ -155,6 +155,7 @@ while true; do echo "UPDATING CODE git pull > ~/.zen/tmp/.lastpull" echo "$HTTPCORS" > ~/.zen/tmp/.lastpull git pull >> ~/.zen/tmp/.lastpull + rm ~/.zen/game/players/localhost/latest (cat ~/.zen/tmp/.lastpull | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && continue fi