버그 수정

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