fix: 봉급 계산에서 부대장 처리를 하지 않은 문제 수정
- 전체 지출 계산에만 실수 발생
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user