From 9e64b268cf08fe9f244635a3aa948baf238f886f Mon Sep 17 00:00:00 2001 From: hide_d Date: Thu, 10 Oct 2019 02:39:25 +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_time_event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/func_time_event.php b/hwe/func_time_event.php index a462cfae..47d9f3ba 100644 --- a/hwe/func_time_event.php +++ b/hwe/func_time_event.php @@ -571,7 +571,7 @@ function disaster() { $logger->pushGlobalHistoryLog("【{$logTitle}】{$targetCityNames}에 {$logBody}"); $logger->flush(); - if ($isGood) { + if (!$isGood) { //NOTE: 쿼리 1번이지만 복잡하기 vs 쿼리 여러번이지만 조금 더 깔끔하기 foreach ($targetCityList as $city) { $affectRatio = Util::valueFit($city['secu'] / $city['secu2'] / 0.8, 0, 1);