버그 수정

This commit is contained in:
2019-04-21 02:53:27 +09:00
parent 3064a13450
commit a0a4e52fca
3 changed files with 14 additions and 9 deletions
+3 -3
View File
@@ -1195,9 +1195,9 @@ function checkStatistic() {
$auxData['nations']['all'] = $nations;
$nationHist = '';
for($i=1; $i <= 13; $i++) {
if(!Util::array_get($nationHists[$i])) { $nationHists[$i] = '-'; }
$nationHist .= getNationType($i)."({$nationHists[$i]}), ";
foreach(GameConst::$availableNationType as $nationType){
if(!Util::array_get($nationHists[$nationType])) { $nationHists[$nationType] = '-'; }
$nationHist .= getNationType($nationType)."({$nationHists[$i]}), ";
}
$generals = $db->query('SELECT `no`,npc,personal,special,special2,crewtype FROM general');