Alias overwrites Name?
fatbattk opened this issue · 1 comments
fatbattk commented
Hi.
Is it intended for alias
to overwrite name
when playing?
From my tests, if an alias
is set, trying to run that sound using the name
fails.
sounds: [{
alias: 'b',
name: 'beer_can_opening'
}],
ion.sound.play('b'); // OK
ion.sound.play('beer_can_opening'); // FAIL!
Shouldn't both trigger the same?
IonDen commented
Yes, they should. Thanks for finding bug.