Skip to content

Commit 8476a0b

Browse files
committed
One ! too many phaserjs#1746
1 parent 2bf11ab commit 8476a0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sound/SoundManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ Phaser.SoundManager.prototype = {
210210
if (this.context === null)
211211
{
212212
// No Web Audio support - how about legacy Audio?
213-
if (!!window['Audio'])
213+
if (window['Audio'] === undefined)
214214
{
215215
this.noAudio = true;
216216
return;

0 commit comments

Comments
 (0)