From bb24e45028042064b0cf24043614b95eb42ef99f Mon Sep 17 00:00:00 2001 From: hide_d Date: Thu, 15 Aug 2019 19:37:03 +0900 Subject: [PATCH] =?UTF-8?q?=EC=84=9C=EB=B2=84=EA=B0=80=20=EC=98=A4?= =?UTF-8?q?=ED=94=88=EB=90=98=EC=A7=80=20=EC=95=8A=EC=9C=BC=EB=A9=B4=20?= =?UTF-8?q?=EB=B2=8C=EC=A0=90=EC=9D=B4=20=EB=8A=98=EC=A7=80=20=EC=95=8A?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EB=B3=80=EA=B2=BD?= 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 076da630..bc9f4bdd 100644 --- a/hwe/func.php +++ b/hwe/func.php @@ -1283,8 +1283,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),