핵심 디버그 코드 제외 제거

This commit is contained in:
2020-05-09 17:47:51 +09:00
parent 009e310a75
commit 691ac56723
2 changed files with 1 additions and 9 deletions
+1 -1
View File
@@ -54,5 +54,5 @@ function MessageBox($str)
function LogText($prefix, $variable) function LogText($prefix, $variable)
{ {
$text = sprintf('%s : %s'."\r\n", $prefix, TVarDumper::dump($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);
} }
-8
View File
@@ -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->nationGenerals = $nationGenerals;
$this->userGenerals = $userGenerals; $this->userGenerals = $userGenerals;
$this->userCivilGenerals = $userCivilGenerals; $this->userCivilGenerals = $userCivilGenerals;