1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 17:49:43 +01:00

Fix mute button not working at all

Whoops, looks like I forgot to test that I didn't break the mute button
completely in my previous pull request.
This commit is contained in:
Info Teddy 2020-01-13 20:02:56 -08:00 committed by Ethan Lee
parent fa075010c8
commit 17585c4602

View file

@ -481,7 +481,7 @@ int main(int argc, char *argv[])
} }
//Mute button //Mute button
if (key.isDown(KEYBOARD_m) && game.mutebutton<=0 && !ed.textentry && !key.textentrymode) if (key.isDown(KEYBOARD_m) && game.mutebutton<=0 && !ed.textentry && ed.scripthelppage != 1)
{ {
game.mutebutton = 8; game.mutebutton = 8;
if (game.muted) if (game.muted)