mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-11-13 22:49:42 +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:
parent
988a7720b9
commit
f20a703bf3
1 changed files with 4 additions and 0 deletions
|
@ -3606,6 +3606,10 @@ void editorrenderfixed(void)
|
|||
ed.dmtileeditor--;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ed.dmtileeditor = 0;
|
||||
}
|
||||
|
||||
if (ed.level[ed.levx + ed.maxwidth*ed.levy].roomname != "")
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue