핵심 디버그 코드 제외 제거

This commit is contained in:
2020-05-09 17:47:51 +09:00
parent 954888a879
commit 0a0b499716
2 changed files with 1 additions and 9 deletions
+1 -1
View File
@@ -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);
}
-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->userGenerals = $userGenerals;
$this->userCivilGenerals = $userCivilGenerals;