This commit is contained in:
2025-12-08 17:31:18 +01:00
parent 30eb2d1dc8
commit 097d35da1b
7 changed files with 713 additions and 105 deletions

View File

@@ -47,8 +47,10 @@ class CollectionSystem {
color: '#FFD700'
});
if (this.scene.soundManager) {
this.scene.soundManager.playSuccess(); // Reuse success sound
if (this.scene.soundManager && typeof this.scene.soundManager.playSuccess === 'function') {
this.scene.soundManager.playSuccess();
} else if (this.scene.soundManager && typeof this.scene.soundManager.playHarvest === 'function') {
this.scene.soundManager.playHarvest(); // Fallback to harvest sound
}
}
}