diff --git a/utility/htmls/map_editor.js b/utility/htmls/map_editor.js
index ceec7163..51a12806 100644
--- a/utility/htmls/map_editor.js
+++ b/utility/htmls/map_editor.js
@@ -1118,16 +1118,18 @@ function redraw_map()
to_delete=[]; deleted=false;
- for(var i=0;i