도시 병종 체크 버그 수정

This commit is contained in:
Hide_D committed 2018-04-10 21:28:10 +09:00
1 parent 19e06cc12e
commit bc519284fb
1 file changed
+1 -2
+1 -2
View File
@@ -63,8 +63,7 @@ class GameUnitDetail{
}
if($this->recruitType == 2){
$cityLevel = CityConst::byID($this->id)->level;
$cityLevel = CityConst::$regionMap[$cityLevel];
$cityLevel = CityConst::byID($this->recruitCondition)->level;
if(!key_exists($this->recruitCondition, $ownCities)){
return false;