# 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
- null_files[$(echo $i | cut -sd : -f1)]+="$person"
+ if [ "$person" = "$me_highscore_name" ]; then
+ null_files[$(echo $i | cut -sd : -f1)]+="$person"
+ fi
else
song_score=$(echo $i | rev | cut -sd : -f1 | rev)
song_steps_type=$(echo $i | rev | cut -sd : -f2 | rev)
# 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"
+ exit
song="${hash_map[${hash}]}"
song=$(echo $song | sed 's/`/\\\`/g')
xmlstarlet_orphans_cmd="$xmlstarlet_orphans_cmd -i \"//SongScores//Song[@Dir=\\\"Songs/${song}/\\\"]//Steps//HighScore[1]//PercentDP\" \