Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions bots/FretBots/Settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,13 @@ local chatCommands =
'speak', 'sp', -- speak specific language

}

Settings.isPlaySounds = Customize.Fretbots.Play_Sounds or Settings.isPlaySounds
Settings.isPlayerDeathSound = Customize.Fretbots.Player_Death_Sound or Settings.isPlayerDeathSound
if Customize and Customize.Fretbots then
Settings.isPlaySounds = Customize.Fretbots.Play_Sounds
Settings.isPlayerDeathSound = Customize.Fretbots.Player_Death_Sound
else
Settings.isPlaySounds = Settings.isPlaySounds
Settings.isPlayerDeathSound = Settings.isPlayerDeathSound
end

function Settings:CalculateDifficultyScale(difficulty)
-- no argument implies default, do nothing
Expand Down