From a40d50af21c2f17b96062aaf7da0fb60fadd155d Mon Sep 17 00:00:00 2001 From: thmsn <9084377+thmsndk@users.noreply.github.com> Date: Mon, 20 May 2024 22:09:20 +0200 Subject: [PATCH] fixed crash in map editor if .placements where not defined --- utility/htmls/map_editor.js | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) 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