mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03: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:
@@ -3606,6 +3606,10 @@ void editorrenderfixed(void)
|
||||
ed.dmtileeditor--;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ed.dmtileeditor = 0;
|
||||
}
|
||||
|
||||
if (ed.level[ed.levx + ed.maxwidth*ed.levy].roomname != "")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user