Skip to content

fix: spectator sound effects not playing due to missing listener posi…#1409

Merged
braedonsaunders merged 1 commit into
mainfrom
claude/spectator-sound-effects-21vlU
Feb 10, 2026
Merged

fix: spectator sound effects not playing due to missing listener posi…#1409
braedonsaunders merged 1 commit into
mainfrom
claude/spectator-sound-effects-21vlU

Conversation

@braedonsaunders

Copy link
Copy Markdown
Owner

…tion sync

AudioManager.updateListenerPosition() was only called from AudioSystem.update(), which is never initialized in worker mode. This left listenerPosition at (0,0,0), causing spatial sounds to be distance-culled when combat happened far from the map origin. Now synced from the render loop each frame.

https://claude.ai/code/session_01J6ejaKVU1YyA9dTpr4GGep

…tion sync

AudioManager.updateListenerPosition() was only called from AudioSystem.update(),
which is never initialized in worker mode. This left listenerPosition at (0,0,0),
causing spatial sounds to be distance-culled when combat happened far from the
map origin. Now synced from the render loop each frame.

https://claude.ai/code/session_01J6ejaKVU1YyA9dTpr4GGep
@braedonsaunders braedonsaunders merged commit 855ecaf into main Feb 10, 2026
@braedonsaunders braedonsaunders deleted the claude/spectator-sound-effects-21vlU branch February 10, 2026 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants