Skip to content

Commit fdbda3c

Browse files
Setting locked property to value set in subclass if available
1 parent 0f6f0ab commit fdbda3c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/sound/BaseSoundManager.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,8 @@ var BaseSoundManager = new Class({
105105
*
106106
* @readonly
107107
* @property {boolean} locked
108-
* @default false
109108
*/
110-
this.locked = false;
109+
this.locked = this.locked || false;
111110
/**
112111
* Flag used internally for handling when the audio system
113112
* has been unlocked, if there ever was a need for it.

0 commit comments

Comments
 (0)