mirror of
https://github.com/minetest/minetest.git
synced 2024-06-30 21:20:36 +02:00
resend_time default value 600.
This commit is contained in:
parent
0da16f9937
commit
7a9479e58b
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user