Skip to content

Commit

Permalink
Merge pull request #109 from moisesbr-dw/audio_fix
Browse files Browse the repository at this point in the history
Audio fix
  • Loading branch information
splitbrain committed Jul 20, 2021
2 parents 5c3626a + 1956335 commit 4ec11c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wav.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
$lettercount = $plugin->getConf('lettercount');
if($lettercount > strlen($code)) $lettercount = strlen($code);
for($i = 0; $i < $lettercount; $i++) {
$file = $lc.$code{$i}.'.wav';
if(!@file_exists($file)) $file = $en.$code{$i}.'.wav';
$file = $lc.$code[$i].'.wav';
if(!@file_exists($file)) $file = $en.$code[$i].'.wav';
$wavs[] = $file;
}

Expand Down

0 comments on commit 4ec11c6

Please sign in to comment.