fix: keep scenario war specials in war slot
This commit is contained in:
@@ -136,13 +136,13 @@ class GeneralBuilder{
|
||||
$this->specialWar = GameConst::$defaultSpecialWar;
|
||||
}
|
||||
try{
|
||||
$this->specialDomestic = SpecialityHelper::getDomesticClassByName($special);
|
||||
$this->specialWar = GameConst::$defaultSpecialWar;
|
||||
}
|
||||
catch (\Exception $e){
|
||||
$this->specialDomestic = GameConst::$defaultSpecialDomestic;
|
||||
$this->specialWar = SpecialityHelper::getWarClassByName($special);
|
||||
}
|
||||
catch (\Exception $e){
|
||||
$this->specialDomestic = SpecialityHelper::getDomesticClassByName($special);
|
||||
$this->specialWar = GameConst::$defaultSpecialWar;
|
||||
}
|
||||
return $this;
|
||||
}
|
||||
|
||||
@@ -735,4 +735,4 @@ class GeneralBuilder{
|
||||
|
||||
return true; //생성되었다.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user