j_load_scenario.php 에서 볼 수 있는 요약 형태본 추가

- 소소한 버그 수정
This commit is contained in:
Hide_D committed 2018-03-29 00:50:35 +09:00
1 parent 39f6056e94
commit a146cb69d0
5 files changed
+24 -2

No files matched your search

+3 -1
View File
@@ -238,7 +238,9 @@ class Scenario{
'title'=>$this->getTitle(),
'npc_cnt'=>count($this->getNPC()),
'npcEx_cnt'=>count($this->getNPCex()),
'nation'=>$this->getNation()
'nation'=>array_map(function($nation){
return $nation->getBrief();
},$this->getNation())
];
}