버그 수정

This commit is contained in:
Hide_D committed 2019-04-21 02:53:27 +09:00
1 parent 3064a13450
commit a0a4e52fca
3 files changed
+14 -9

No files matched your search

+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');