1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-11-12 14:09:43 +01:00

Reset drawer timer if not in Direct Mode room

This fixes the drawer suddenly popping up only to disappear, if the user
leaves a Direct Mode room into a non-Direct Mode room when the drawer
hasn't closed all the way, and then re-enters a Direct Mode room.
This commit is contained in:
Misa 2021-03-09 21:04:04 -08:00 committed by Ethan Lee
parent 988a7720b9
commit f20a703bf3

View file

@ -3606,6 +3606,10 @@ void editorrenderfixed(void)
ed.dmtileeditor--;
}
}
else
{
ed.dmtileeditor = 0;
}
if (ed.level[ed.levx + ed.maxwidth*ed.levy].roomname != "")
{