diff --git a/desktop_version/src/editor.cpp b/desktop_version/src/editor.cpp index 9cfd3b39..d7d471a3 100644 --- a/desktop_version/src/editor.cpp +++ b/desktop_version/src/editor.cpp @@ -3606,6 +3606,10 @@ void editorrenderfixed(void) ed.dmtileeditor--; } } + else + { + ed.dmtileeditor = 0; + } if (ed.level[ed.levx + ed.maxwidth*ed.levy].roomname != "") {