mirror of
https://github.com/photonstorm/phaser
synced 2024-12-17 16:43:30 +00:00
Setting locked property to value set in subclass if available
This commit is contained in:
parent
0f6f0ab45e
commit
fdbda3cffa
1 changed files with 1 additions and 2 deletions
|
@ -105,9 +105,8 @@ var BaseSoundManager = new Class({
|
||||||
*
|
*
|
||||||
* @readonly
|
* @readonly
|
||||||
* @property {boolean} locked
|
* @property {boolean} locked
|
||||||
* @default false
|
|
||||||
*/
|
*/
|
||||||
this.locked = false;
|
this.locked = this.locked || false;
|
||||||
/**
|
/**
|
||||||
* Flag used internally for handling when the audio system
|
* Flag used internally for handling when the audio system
|
||||||
* has been unlocked, if there ever was a need for it.
|
* has been unlocked, if there ever was a need for it.
|
||||||
|
|
Loading…
Reference in a new issue