map.js에서 재야 상태일때 올바르게 처리하도록 변경

This commit is contained in:
2018-02-02 01:07:30 +09:00
parent e9fc23b8ee
commit f85443cf17
+4 -1
View File
@@ -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;
}