diff --git a/doc/lua_api.md b/doc/lua_api.md index 7b8323b7f..6a90b122a 100644 --- a/doc/lua_api.md +++ b/doc/lua_api.md @@ -1101,7 +1101,7 @@ Table used to specify how a sound is played: -- Available since feature `sound_params_start_time`. - resend_time = 0.0, + resend_time = 600.0, -- Approximate playback duration (from `start_time` to end) in seconds. -- This is needed to re-send sounds to new players in hearing distance. -- Unused for looped sounds. diff --git a/src/sound.h b/src/sound.h index a9e4c7ad0..1aee0e00d 100644 --- a/src/sound.h +++ b/src/sound.h @@ -73,7 +73,7 @@ struct SoundSpec float start_time = 0.0f; // keep time defines a time windows, where sound cannot be removed // and can be resend, takes no effect for looped sounds - float resend_time = 0.0f; + float resend_time = 600.0f; bool loop = false; // If true, a local fallback (ie. from the user's sound pack) is used if the // sound-group does not exist.