선전포고에 지도 추가

This commit is contained in:
2020-03-11 18:10:41 +09:00
parent 00d3105aad
commit 744c24b032
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -6,7 +6,11 @@ $(function(){
neutralView:true, neutralView:true,
useCachedMap:true, useCachedMap:true,
selectCallback:function(city){ selectCallback:function(city){
var currVal = $target.val();
$target.val(city.nationId); $target.val(city.nationId);
if($target.val() === null){
$target.val(currVal);
}
return false; return false;
} }
}); });
@@ -215,6 +215,7 @@ class che_선전포고 extends Command\NationCommand{
ob_start(); ob_start();
?> ?>
<?=\sammo\getMapHtml()?><br>
타국에게 선전 포고합니다.<br> 타국에게 선전 포고합니다.<br>
선전 포고할 국가를 목록에서 선택하세요.<br> 선전 포고할 국가를 목록에서 선택하세요.<br>
고립되지 않은 아국 도시에서 인접한 국가에 선포 가능합니다.<br> 고립되지 않은 아국 도시에서 인접한 국가에 선포 가능합니다.<br>