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:
parent
ec587fc37e
commit
27aa10a18c
1 changed files with 2 additions and 0 deletions
|
@ -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--;
|
||||
|
|
Loading…
Reference in a new issue