From af3c76681bcace86bd7e28d31f93983e54a66058 Mon Sep 17 00:00:00 2001 From: reschan Date: Sun, 26 Jun 2022 19:46:04 +0700 Subject: [PATCH] fix: cosmetic defect on tri connector --- js/display_atree.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/display_atree.js b/js/display_atree.js index f95d1a0..cb5a723 100644 --- a/js/display_atree.js +++ b/js/display_atree.js @@ -289,6 +289,7 @@ function atree_get_state(connector) { } else if (!connector_state[1]) { connector_state[1] = 0; } + continue; } if (atree_map.get(abil_name).display.col < parseInt(connector.split(",")[1])) { if (state) { @@ -296,6 +297,7 @@ function atree_get_state(connector) { } else if (!connector_state[0]) { connector_state[0] = 0; } + continue; } if (atree_map.get(abil_name).display.row < parseInt(connector.split(",")[0])) { if (state) { @@ -303,6 +305,7 @@ function atree_get_state(connector) { } else if (!connector_state[2]) { connector_state[2] = 0; } + continue; } if (atree_map.get(abil_name).display.row > parseInt(connector.split(",")[0])) { if (state) { @@ -310,6 +313,7 @@ function atree_get_state(connector) { } else if (!connector_state[3]) { connector_state[3] = 0; }; + continue; }; }; return connector_state;