From f8d8d2122eff1cf1756f2ae0226bc1005fa9e72a Mon Sep 17 00:00:00 2001 From: hide_d Date: Fri, 8 May 2020 21:18:58 +0900 Subject: [PATCH] =?UTF-8?q?=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/func.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hwe/func.php b/hwe/func.php index bc6ab735..0bd5a1c8 100644 --- a/hwe/func.php +++ b/hwe/func.php @@ -983,8 +983,9 @@ function increaseRefresh($type = "", $cnt = 1) $gameStor = KVStorage::getStorage($db, 'game_env'); $gameStor->refresh = $gameStor->refresh + $cnt; //TODO: +로 증가하는 값은 별도로 분리 $isunited = $gameStor->isunited; + $opentime = $gameStor->opentime; - if ($isunited != 2 && $generalID && $userGrade < 6) { + if ($isunited != 2 && $generalID && $userGrade < 6 && $opentime <= TimeUtil::DatetimeNow()) { $db->update('general', [ 'lastrefresh' => $date, 'con' => $db->sqleval('con + %i', $cnt),