Move sound within if because it was being played twice.
Linter issue, property assignment.
Merge pull request #329 from tobyk100/master

Move sound within if because it was being played twice.