From e0d891e89a4ab811ae68b15588c8f7467c975b60 Mon Sep 17 00:00:00 2001 From: hide_d Date: Fri, 17 Sep 2021 03:14:14 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=9E=AC=EC=95=BC=EC=9D=BC=20=EB=95=8C?= =?UTF-8?q?=EC=97=90=EB=8A=94=20=EC=9E=84=EA=B4=80=20=EB=85=84=EB=8F=84=20?= =?UTF-8?q?=EC=A6=9D=EA=B0=80=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8F=84?= =?UTF-8?q?=EB=A1=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hwe/func.php b/hwe/func.php index eb93bb5a..fc5f7959 100644 --- a/hwe/func.php +++ b/hwe/func.php @@ -1256,9 +1256,12 @@ function addAge() //나이와 호봉 증가 $db->update('general', [ 'age' => $db->sqleval('age+1'), - 'belong' => $db->sqleval('belong+1') ], true); + $db->update('general', [ + 'belong' => $db->sqleval('belong+1') + ], 'nation != 0'); + [$startYear, $year, $month] = $gameStor->getValuesAsArray(['startyear', 'year', 'month']); if ($year >= $startYear + 3) {