map.js에서 재야 상태일때 올바르게 처리하도록 변경
This commit is contained in:
+4
-1
@@ -215,12 +215,15 @@ function reloadWorldMap(option){
|
|||||||
if(id in spyList){
|
if(id in spyList){
|
||||||
clickable |= spyList[id] << 3;
|
clickable |= spyList[id] << 3;
|
||||||
}
|
}
|
||||||
if(nationId == myNation){
|
if(myNation !== null && nationId == myNation){
|
||||||
clickable |= 4;
|
clickable |= 4;
|
||||||
}
|
}
|
||||||
if(shownByGeneralList.hasOwnProperty(id)){
|
if(shownByGeneralList.hasOwnProperty(id)){
|
||||||
clickable |= 2;
|
clickable |= 2;
|
||||||
}
|
}
|
||||||
|
if(myCity !== null && id == myCity){
|
||||||
|
clickable |= 2;
|
||||||
|
}
|
||||||
if(clickableAll){
|
if(clickableAll){
|
||||||
clickable |= 1;
|
clickable |= 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user