From a00b5a71fc300549d75cfdfd6129c641887f68f2 Mon Sep 17 00:00:00 2001 From: hide_d Date: Fri, 1 May 2020 03:27:43 +0900 Subject: [PATCH] =?UTF-8?q?None=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/SpecialityHelper.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hwe/sammo/SpecialityHelper.php b/hwe/sammo/SpecialityHelper.php index 253820a1..e24fc382 100644 --- a/hwe/sammo/SpecialityHelper.php +++ b/hwe/sammo/SpecialityHelper.php @@ -27,8 +27,8 @@ class SpecialityHelper{ } public static function getDomesticClassByName(?string $type):string{ - if($type === null || $type === ''){ - $type = GameConst::$defaultSpecialDomestic; + if($type === null || $type === '' || $type === 'None'){ + $type = GameConst::$defaultSpecialWar; } if(static::$domesticInv){ @@ -50,7 +50,7 @@ class SpecialityHelper{ } public static function getWarClassByName(?string $type):string{ - if($type === null || $type === ''){ + if($type === null || $type === '' || $type === 'None'){ $type = GameConst::$defaultSpecialWar; }