fix: 봉급 계산에서 부대장 처리를 하지 않은 문제 수정

- 전체 지출 계산에만 실수 발생
This commit is contained in:
2022-01-25 00:44:44 +09:00
parent f5dc1cd85e
commit 41dd497d1b
+1 -1
View File
@@ -4137,7 +4137,7 @@ class GeneralAI
$dedicationList = array_map(function (General $general) {
return $general->getRaw();
}, array_filter($this->nationGenerals, function (General $rawGeneral) {
return $rawGeneral->getVar('officer_level') != 5;
return $rawGeneral->getVar('npc') != 5;
}));
$riceIncome = getRiceIncome($nation['nation'], $nation['level'], $nation['rate'], $nation['capital'], $nation['type'], $cityList);