mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Handle failing openal init properly, add enable_sound and sound_volume settings
This commit is contained in:
parent
a67540807a
commit
6a57eabb14
5 changed files with 31 additions and 6 deletions
|
@ -98,6 +98,8 @@ void set_default_settings(Settings *settings)
|
|||
settings->setDefault("opaque_water", "false");
|
||||
settings->setDefault("console_color", "(0,0,0)");
|
||||
settings->setDefault("console_alpha", "200");
|
||||
settings->setDefault("enable_sound", "true");
|
||||
settings->setDefault("sound_volume", "0.8");
|
||||
|
||||
// Server stuff
|
||||
// "map-dir" doesn't exist by default.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue