# Then later on when we process the pranks, unset any hashes that turn out to have a score elsewhere
# before finally adding the null nodes
- if [ "$person" = "$me_highscore_name" ]; then
+ if [ "$person" = "$me" ]; then
+ # this represents files that __should not__ be copied, that is, we know they have nothing in stats.xml at their original location
null_files[$(echo $i | cut -sd : -f1)]+="$person"
fi
else
done
done
+ # TODO: Really this should happen __before__ the bros algorithm (and the unset from the bros algorithm should be removed)
+ # that way any scores I have locally for something a friend faved, will be considered. As it stands, scores from a friends
+ # scores.txt will always trump anything I have in the original directory
# only try find files for which there is actually nothing in scores.txt
if [ "$had_score" = false ] && [ -z "${null_files[${hash}]}" ]; then
echo "$hash had no score and is not in nulls"