|
|
@ -712,7 +712,8 @@ HuesEditor.prototype.uiCreateEditArea = function() { |
|
|
|
// CHAIN-BROKEN, use  for CHAIN
|
|
|
|
// CHAIN-BROKEN, use  for CHAIN
|
|
|
|
let locker = this.createButton("", this.timeLock); |
|
|
|
let locker = this.createButton("", this.timeLock); |
|
|
|
locker.addEventListener("click", () => { |
|
|
|
locker.addEventListener("click", () => { |
|
|
|
if(!this.song) { |
|
|
|
// Only allow if both song bits exist
|
|
|
|
|
|
|
|
if(!this.song || !this.song.buildup || !this.song.sound) { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
this.setIndependentBuild(!this.song.independentBuild); |
|
|
|
this.setIndependentBuild(!this.song.independentBuild); |
|
|
|