성인 등장이 꼭 1월이 아니어도 되도록 변경

This commit is contained in:
2018-04-29 23:31:21 +09:00
parent a19661199e
commit 7db3675e71
+2 -2
View File
@@ -107,8 +107,8 @@ class NPC{
$db = DB::db();
if($age == \sammo\GameConst::$adultAge && $month == 1){
\sammo\pushWorldHistory(["<C>●</>1월:<Y>$name</>(이)가 성인이 되어 <S>등장</>했습니다."], $year, $month);
if($age == \sammo\GameConst::$adultAge){
\sammo\pushWorldHistory(["<C>●</>$month월:<Y>$name</>(이)가 성인이 되어 <S>등장</>했습니다."], $year, $month);
}
if($this->ego == null || $isFictionMode){