From f85443cf1776303e472c7df2993e292f2e50b282 Mon Sep 17 00:00:00 2001 From: hide_d Date: Fri, 2 Feb 2018 01:07:30 +0900 Subject: [PATCH] =?UTF-8?q?map.js=EC=97=90=EC=84=9C=20=EC=9E=AC=EC=95=BC?= =?UTF-8?q?=20=EC=83=81=ED=83=9C=EC=9D=BC=EB=95=8C=20=EC=98=AC=EB=B0=94?= =?UTF-8?q?=EB=A5=B4=EA=B2=8C=20=EC=B2=98=EB=A6=AC=ED=95=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- twe/js/map.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/twe/js/map.js b/twe/js/map.js index 0ce6c413..9fda0ab5 100644 --- a/twe/js/map.js +++ b/twe/js/map.js @@ -215,12 +215,15 @@ function reloadWorldMap(option){ if(id in spyList){ clickable |= spyList[id] << 3; } - if(nationId == myNation){ + if(myNation !== null && nationId == myNation){ clickable |= 4; } if(shownByGeneralList.hasOwnProperty(id)){ clickable |= 2; } + if(myCity !== null && id == myCity){ + clickable |= 2; + } if(clickableAll){ clickable |= 1; }