From 52f6cb2f30dbc25ec5c0ea373dc514d5084725c1 Mon Sep 17 00:00:00 2001 From: hide_d Date: Thu, 27 Jan 2022 03:55:55 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=94=BC=EC=9E=A5=ED=8C=8C=EC=9E=A5=20?= =?UTF-8?q?=EC=8B=9C,=20=ED=84=B4=EC=9D=B4=2060=ED=84=B4=EC=9D=B4=20?= =?UTF-8?q?=EB=8A=98=EC=96=B4=EB=82=98=EB=8A=94=20=EA=B2=83=EC=9D=B4=20?= =?UTF-8?q?=EC=95=84=EB=8B=88=EB=9D=BC=2060=ED=84=B4=EC=9D=B4=20=EB=90=98?= =?UTF-8?q?=EB=8A=94=20=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Command/Nation/che_피장파장.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hwe/sammo/Command/Nation/che_피장파장.php b/hwe/sammo/Command/Nation/che_피장파장.php index 5a050e31..06095d0b 100644 --- a/hwe/sammo/Command/Nation/che_피장파장.php +++ b/hwe/sammo/Command/Nation/che_피장파장.php @@ -230,7 +230,9 @@ class che_피장파장 extends Command\NationCommand $yearMonth = Util::joinYearMonth($env['year'], $env['month']); $nationStor->setValue($cmd->getNextExecuteKey(), $yearMonth + $this->getTargetPostReqTurn()); - $destNationStor->setValue($cmd->getNextExecuteKey(), $yearMonth + static::$delayCnt); + + $destDelay = max($destNationStor->getValue($cmd->getNextExecuteKey()) ?? 0, $yearMonth); + $destNationStor->setValue($cmd->getNextExecuteKey(), $destDelay + static::$delayCnt); $general->applyDB($db);