버그 수정

This commit is contained in:
2019-04-21 01:38:17 +09:00
parent 1afb2c6883
commit 51da0bd7b7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -289,7 +289,7 @@ for($j=0; $j < $gencount; $j++) {
if($ourGeneral && !$isNPC){
$turnText = [];
$generalObj = new General($general, null, null, null, false);
$turnBrief = getGeneralTurnBrief($genralObj, $generalTurnList[$generalObj->getID()]);
$turnBrief = getGeneralTurnBrief($generalObj, $generalTurnList[$generalObj->getID()]);
foreach($turnBrief as $turnRawIdx=>$turn){
$turnIdx = $turnRawIdx+1;
$turnText[] = "{$turnIdx} : $turn";
+1 -1
View File
@@ -174,7 +174,7 @@ class General implements iAction{
return getNationStaticInfo($this->raw['nation']);
}
function getLogger():ActionLogger{
function getLogger():?ActionLogger{
return $this->logger;
}