added setting "sounds.enable_tests"

This commit is contained in:
Jordan Irwin 2021-08-21 06:03:22 -07:00
parent 668e328d5e
commit 0b989ae32e
4 changed files with 16 additions and 0 deletions

View File

@ -3,6 +3,7 @@ next
----
- "sounds:play" now returns handle & sound file name string
- added "sounds:stop" wrapper function for "core:sound_stop"
- added setting "sounds.enable_tests"
v1.8

View File

@ -20,6 +20,7 @@ end
local scripts = {
"settings",
"override",
"api",
"groups",

11
settings.lua Normal file
View File

@ -0,0 +1,11 @@
--- Sounds Settings
--
-- @topic settings
--- Enables sounds testing with /sounds_test chat command.
--
-- @setting sounds.enable_tests
-- @settype bool
-- @default false
sounds.enable_tests = core.settings:get_bool("sounds.enable_tests", false)

3
settingtypes.txt Normal file
View File

@ -0,0 +1,3 @@
# Enables sounds testing with /sounds_test chat command.
sounds.enable_tests (Sounds tests) bool false