mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Disable muting in the script editor
This disables being able to press M to mute while editing a script in the script editor. It also disables it in the script list, too, but I'm hoping no one thinks that's an issue, because I personally don't think it is.
This commit is contained in:
parent
e0b80cf0b5
commit
01ad6cf1a1
1 changed files with 1 additions and 1 deletions
|
@ -481,7 +481,7 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
|
||||
//Mute button
|
||||
if (key.isDown(KEYBOARD_m) && game.mutebutton<=0 && !ed.textentry)
|
||||
if (key.isDown(KEYBOARD_m) && game.mutebutton<=0 && !ed.textentry && !key.textentrymode)
|
||||
{
|
||||
game.mutebutton = 8;
|
||||
if (game.muted)
|
||||
|
|
Loading…
Reference in a new issue