외교부 틀 작성중. 재야의 외교 메시지는 항상 보이도록

This commit is contained in:
Hide_D committed 2019-01-26 03:31:04 +09:00
1 parent cc853a0632
commit 1bc08930be
7 files changed
+150 -23

No files matched your search

+1 -1
View File
@@ -101,7 +101,7 @@ $result['diplomacy']= array_map(function(Message $msg)use (&$nextSequence, &$min
$lastType = 'diplomacy';
}
$values = $msg->toArray();
if($permission < 3){
if($msg->dest->nationID != 0 && $permission < 3){
$values['text'] = '(외교 문서입니다)';//TODO: 외교서신이라 읽을 수 없음을 보여줘야함
}
return $values;