Skip to content

Commit

Permalink
Merge pull request #3 from 4silvertooth/patch
Browse files Browse the repository at this point in the history
fix: mp3 url in quark
  • Loading branch information
GirkovArpa authored Nov 10, 2020
2 parents 4208d30 + c1ccf2d commit c9ac114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.tis
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var currentSound = false;
function playSound(sound) {
if (!audioEnabled) return;
if (currentSound != false) return;
currentSound = view.audio(sound);
currentSound = view.audio(self.url(sound));
currentSound.play();
view.root.timer(500ms, function() {
currentSound = false;
Expand Down

0 comments on commit c9ac114

Please sign in to comment.