In game music review feedback fix

This commit is contained in:
ancientmarinerdev 2023-01-12 23:33:39 +00:00 committed by Johannes Fritz
parent 09a7348256
commit ce485e89cd
2 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
local modname = minetest.get_current_modname()
local modpath = minetest.get_modpath(modname)
local music_disabled = minetest.settings:get_bool("mcl_music_disable", false)
local music_enabled = minetest.settings:get_bool("mcl_game_music", true)
local pianowtune = "diminixed-pianowtune01"
local end_tune = "diminixed-ambientwip"
@ -101,8 +101,8 @@ local function play()
minetest.after(7, play)
end
if not music_disabled then
minetest.log("action", "[mcl_music] Music is activated")
if music_enabled then
minetest.log("action", "[mcl_music] In game music is activated")
minetest.after(15, play)
minetest.register_on_joinplayer(function(player, last_login)
@ -115,5 +115,5 @@ if not music_disabled then
stop_music_for_listener_name(player_name)
end)
else
minetest.log("action", "[mcl_music] Music is deactivated")
minetest.log("action", "[mcl_music] In game music is deactivated")
end

View File

@ -139,8 +139,8 @@ mcl_mob_active_range (Active mob range) int 48 0 256
# Enable flame sound.
flame_sound (Flame sound) bool true
# Disable the in game music.
mcl_music_disable (Disable in game music) bool false
# Enable the in game music.
mcl_game_music (Enable in game music) bool true
[Graphics]
# How many vertical animation frames the fire texture (fire_basic_flame_animated.png) has.