선전포고에 지도 추가

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