From 0a0b499716386cf8eb31367aef5d055846b9d22f Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 9 May 2020 17:47:51 +0900 Subject: [PATCH] =?UTF-8?q?=ED=95=B5=EC=8B=AC=20=EB=94=94=EB=B2=84?= =?UTF-8?q?=EA=B7=B8=20=EC=BD=94=EB=93=9C=20=EC=A0=9C=EC=99=B8=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/lib.php | 2 +- hwe/sammo/GeneralAI.php | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/hwe/lib.php b/hwe/lib.php index 63f3ca83..2556fbd9 100644 --- a/hwe/lib.php +++ b/hwe/lib.php @@ -54,5 +54,5 @@ function MessageBox($str) function LogText($prefix, $variable) { $text = sprintf('%s : %s'."\r\n", $prefix, TVarDumper::dump($variable)); - file_put_contents(ROOT.'/d_log/dbg_logs.txt', $text, FILE_APPEND); + file_put_contents(ROOT.'/d_log/'.UniqueConst::$serverName.'_dbg_logs.txt', $text, FILE_APPEND); } diff --git a/hwe/sammo/GeneralAI.php b/hwe/sammo/GeneralAI.php index c7d6830d..19b575d3 100644 --- a/hwe/sammo/GeneralAI.php +++ b/hwe/sammo/GeneralAI.php @@ -3065,14 +3065,6 @@ class GeneralAI } } - LogText('warUserGenerals,'.getNationStaticInfo($nationID)['name'].','.$this->general->getName(), array_map(function(General $general){ - return $general->getName(); - }, $userWarGenerals)); - - LogText('userGenerals,'.getNationStaticInfo($nationID)['name'].','.$this->general->getName(), array_map(function(General $general){ - return $general->getName(); - }, $userGenerals)); - $this->nationGenerals = $nationGenerals; $this->userGenerals = $userGenerals; $this->userCivilGenerals = $userCivilGenerals;