Harden auto-reconnect handshake and smooth local footsteps

This commit is contained in:
Jage9
2026-02-22 19:38:34 -05:00
parent 2362c14bc0
commit 1e3ddba625
3 changed files with 14 additions and 2 deletions

View File

@@ -1110,7 +1110,7 @@ function handleMovement(): void {
persistPlayerPosition();
state.player.lastMoveTime = now;
void refreshAudioSubscriptions(true);
void audio.playSample(randomFootstepUrl(), FOOTSTEP_GAIN, 40);
void audio.playSample(randomFootstepUrl(), FOOTSTEP_GAIN, 100);
signaling.send({ type: 'update_position', x: nextX, y: nextY });
const namesOnTile = getPeerNamesAtPosition(nextX, nextY);