fix: 연감 한번 더 수정
This commit is contained in:
+4
-4
@@ -28,11 +28,11 @@ if ($serverID !== UniqueConst::$serverID) {
|
||||
if($serverID === UniqueConst::$serverID){
|
||||
[$currentYear, $currentMonth] = $gameStor->getValuesAsArray(['year', 'month']);
|
||||
if($f_year === null || $l_year === null){
|
||||
$f_year = $currentYear;
|
||||
$f_month = $currentMonth - 1;
|
||||
$yearMonth = Util::joinYearMonth($currentYear, $currentMonth) - 1;
|
||||
[$f_year, $f_month] = Util::parseYearMonth($yearMonth);
|
||||
|
||||
$l_year = $currentYear;
|
||||
$l_month = $currentMonth - 1;
|
||||
$l_year = $f_year;
|
||||
$l_month = $f_month;
|
||||
}
|
||||
}
|
||||
else{
|
||||
|
||||
Reference in New Issue
Block a user