mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Set ed.keydelay to 6 when returning to editor
This fixes an annoying bug where if you use Up or Down to press ACTION on the "All crewmates rescued!" dialogue whenever you rescue the last crewmate during playtesting, it'll move you to the room above or below you. This is because ed.keydelay isn't set to 6 (which is the standard value that it gets set to whenever you press most keys in the editor), but now it is.
This commit is contained in:
parent
1caabe374b
commit
6c52b79ddf
1 changed files with 2 additions and 0 deletions
|
@ -7306,6 +7306,8 @@ void Game::returntoeditor()
|
||||||
graphics.showcutscenebars = false;
|
graphics.showcutscenebars = false;
|
||||||
graphics.fademode = 0;
|
graphics.fademode = 0;
|
||||||
|
|
||||||
|
ed.keydelay = 6;
|
||||||
|
|
||||||
graphics.backgrounddrawn=false;
|
graphics.backgrounddrawn=false;
|
||||||
music.fadeout();
|
music.fadeout();
|
||||||
//If warpdir() is used during playtesting, we need to set it back after!
|
//If warpdir() is used during playtesting, we need to set it back after!
|
||||||
|
|
Loading…
Reference in a new issue