mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 10:09:43 +01:00
Reset ed.roomnamehide to 0 when exiting playtesting
Now if your cursor was at the bottom of the screen when you entered playtesting but then was moved to the top during playtesting, when you exit, the roomname won't instantly disappear and then sheepishly rise back up again. And if your cursor was at the bottom of the screen when you entered playtesting, and exited still being that way, the roomname will rise back down again and won't instantly disappear. Both of these behaviors make the roomname movement much more continuous than it was previously, and it feels smoother and less janky.
This commit is contained in:
parent
def540d184
commit
f8190439a9
1 changed files with 1 additions and 0 deletions
|
@ -7310,6 +7310,7 @@ void Game::returntoeditor()
|
||||||
ed.settingskey = true;
|
ed.settingskey = true;
|
||||||
ed.oldnotedelay = 0;
|
ed.oldnotedelay = 0;
|
||||||
ed.notedelay = 0;
|
ed.notedelay = 0;
|
||||||
|
ed.roomnamehide = 0;
|
||||||
|
|
||||||
graphics.backgrounddrawn=false;
|
graphics.backgrounddrawn=false;
|
||||||
music.fadeout();
|
music.fadeout();
|
||||||
|
|
Loading…
Reference in a new issue