From 71a1badaa074df9ccb3b93910a556c9e88c75aed Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 1 Jun 2024 11:42:06 +0200 Subject: style --- tools/parse-layout.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tools/parse-layout.js') diff --git a/tools/parse-layout.js b/tools/parse-layout.js index b389669..9006560 100644 --- a/tools/parse-layout.js +++ b/tools/parse-layout.js @@ -221,7 +221,7 @@ const PRUSSIA = "Prussia" const SAXONY = "Saxony" const AUSTRIA = "Austria" const AUSTRIAN_NETHERLANDS = "Austria" -const HRE = "HRE" +const EMPIRE = "Empire" const NETHERLANDS = "Netherlands" const SILESIA = "Silesia" const POLAND = "Poland" @@ -254,13 +254,13 @@ for (let key in points) { let map = "UNKNOWN" let country = "UNKNOWN" - if (find_enclosing_rect(rects.$HRE_W, x, y)) { + if (find_enclosing_rect(rects.$Empire_W, x, y)) { map = FLANDERS - country = HRE + country = EMPIRE } - else if (find_enclosing_rect(rects.$HRE_E, x, y)) { + else if (find_enclosing_rect(rects.$Empire_E, x, y)) { map = BOHEMIA - country = HRE + country = EMPIRE } else if (find_enclosing_rect(rects.$Austria_W, x, y)) { map = FLANDERS @@ -393,7 +393,7 @@ let sets = { Prussia: [], Saxony: [], Silesia: [], - HRE: [], + Empire: [], UNKNOWN: [], }, } -- cgit v1.2.3