diff --git a/public/js/entities/Cannon.js b/public/js/entities/Cannon.js index bbf6e823..d6886eaf 100644 --- a/public/js/entities/Cannon.js +++ b/public/js/entities/Cannon.js @@ -20,6 +20,8 @@ function createCannonFactory(entityFactory, audio) { } } + entity.sounds.add('shoot'); + const bullet = createBullet(); bullet.vel.set(80, 0); bullet.pos.copy(entity.pos);