버그 수정

This commit is contained in:
2020-05-01 03:36:17 +09:00
parent a00b5a71fc
commit a529eba693
+4 -4
View File
@@ -27,8 +27,8 @@ class SpecialityHelper{
}
public static function getDomesticClassByName(?string $type):string{
if($type === null || $type === '' || $type === 'None'){
$type = GameConst::$defaultSpecialWar;
if($type === null || $type === '' || $type == 'None'){
return GameConst::$defaultSpecialDomestic;
}
if(static::$domesticInv){
@@ -50,8 +50,8 @@ class SpecialityHelper{
}
public static function getWarClassByName(?string $type):string{
if($type === null || $type === '' || $type === 'None'){
$type = GameConst::$defaultSpecialWar;
if($type === null || $type === '' || $type == 'None'){
return GameConst::$defaultSpecialWar;
}
if(static::$warInv){