WIP: Camera controls, WebGL setup, Procedural grass attempt (Black screen debug)
This commit is contained in:
@@ -144,7 +144,7 @@ export class DrugEconomySystem {
|
||||
|
||||
applyMarijuanaAudio(config) {
|
||||
// Change music to chill variant
|
||||
const currentMusic = this.scene.sound.get('background_music');
|
||||
const currentMusic = null; // this.scene.sound.get('background_music');
|
||||
if (currentMusic) {
|
||||
// Fade out current
|
||||
this.scene.tweens.add({
|
||||
@@ -189,7 +189,7 @@ export class DrugEconomySystem {
|
||||
duration: 2000,
|
||||
onComplete: () => {
|
||||
chillMusic.stop();
|
||||
this.scene.sound.play('background_music', { loop: true, volume: 0.5 });
|
||||
// this.scene.sound.play('background_music', { loop: true, volume: 0.5 });
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user