mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +00:00
Returning false if override setting of sound manager is set to false
This commit is contained in:
parent
935ef78102
commit
fc19a05f0b
1 changed files with 3 additions and 0 deletions
|
@ -74,6 +74,9 @@ var HTML5AudioSound = new Class({
|
|||
return true;
|
||||
}
|
||||
}
|
||||
if (!this.manager.override) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue