1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-18 10:38:31 +02: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
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;
if (game.muted)