diff --git a/backend/static/script/mapbuilder.js b/backend/static/script/mapbuilder.js index 07c99d3..ab56860 100644 --- a/backend/static/script/mapbuilder.js +++ b/backend/static/script/mapbuilder.js @@ -37,8 +37,8 @@ const planet = { "name": parameters[i][j]["name"], "ship_count": parseInt(parameters[i][j]["shipCount"]), - "x": r_j, - "y": r_i + "x": r_j * 2.5, + "y": r_i * 2.5 }; if (parameters[i][j]["colour"] !== 0) { diff --git a/backend/templates/map_partial.html.tera b/backend/templates/map_partial.html.tera index 595f2c5..138c60a 100644 --- a/backend/templates/map_partial.html.tera +++ b/backend/templates/map_partial.html.tera @@ -1,7 +1,7 @@ {% for planet in planets -%} - + {# {{planet.name}} #} {% endfor -%}