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

Fix regression: Editing script disables mute buttons

This is quite a simple bug: If you edit a script, then close it, you
will no longer be able to use the mute buttons (N and M).

The problem here is that in 2.3, key.disabletextentry() was called when
closing a script. However, #944 removed the call. Therefore, a
regression.
This commit is contained in:
Misa 2023-05-15 18:25:43 -07:00
parent ec587fc37e
commit 27aa10a18c

View file

@ -3395,6 +3395,8 @@ void editorinput(void)
// Alright, now re-add the script.
ed.create_script(ed.current_script, ed.script_buffer);
key.disabletextentry();
}
if (ed.keydelay > 0) ed.keydelay--;