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

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

Loading…
Cancel
Save