mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03: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:
@@ -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--;
|
||||
|
||||
Reference in New Issue
Block a user