Simon Kellet 2 months ago
parent 3290d704e3
commit 585fccf59a
  1. 4
      Game/GameKeyPressed.lua

@ -24,9 +24,9 @@ function GameKeyPressed(key)
end end
if key == "m" then if key == "m" then
MUTED = not MUTED _G.MUTED = not _G.MUTED
-- Need to set the battle music to mute -- Need to set the battle music to mute
if MUTED then if _G.MUTED then
musicBattle:setVolume(0) musicBattle:setVolume(0)
else else
musicBattle:setVolume(0.5) musicBattle:setVolume(0.5)

Loading…
Cancel
Save