fix: NPC AI가 현재 병종 기술등급을 고려하지 않는 문제 수정

- 아직 사용하지 않는 징병 페이지 요구 기술 항목도 수정
This commit is contained in:
2025-01-23 17:13:11 +00:00
parent dae5f65baa
commit 0a39ba1023
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -281,7 +281,7 @@ class che_징병 extends Command\GeneralCommand
$crewObj->id = $unit->id;
/** @var ?\sammo\GameUnitConstraints\ReqTech */
$reqTechObj = $unit->reqConstraints['reqTech'] ?? null;
$reqTechObj = $unit->reqConstraints['ReqTech'] ?? null;
$crewObj->reqTech = $reqTechObj ? $reqTechObj->reqTech : 0;
/** @var ?\sammo\GameUnitConstraint\ReqMinRelYear */