버그 수정

This commit is contained in:
2019-10-10 02:39:25 +09:00
parent 0893bf6473
commit 9e64b268cf
+1 -1
View File
@@ -571,7 +571,7 @@ function disaster() {
$logger->pushGlobalHistoryLog("<M><b>【{$logTitle}】</b></>{$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);