resend_time default value 600.

This commit is contained in:
SFENCE 2024-06-28 05:59:35 +02:00
parent 0da16f9937
commit 7a9479e58b
2 changed files with 2 additions and 2 deletions

@ -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.

@ -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.