1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 01:59: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:
Misa 2020-07-11 00:39:09 -07:00 committed by Ethan Lee
parent def540d184
commit f8190439a9

View file

@ -7310,6 +7310,7 @@ void Game::returntoeditor()
ed.settingskey = true;
ed.oldnotedelay = 0;
ed.notedelay = 0;
ed.roomnamehide = 0;
graphics.backgrounddrawn=false;
music.fadeout();