getTypename 삭제. GameUnitDetail::byID(), ::all()로 대체가능

This commit is contained in:
2018-03-31 18:52:12 +09:00
parent 8dc7f3bad5
commit 29a21c41ab
11 changed files with 52 additions and 83 deletions
+2 -2
View File
@@ -52,12 +52,12 @@ function getTurn($connect, $general, $type, $font=1) {
case 9: $str[$i] = "물자 조달"; break; //조달
case 11: //징병
$third = getTypename($command[2]);
$third = GameUnitConst::byID($command[2])->name;
$double = $command[1];
$str[$i] = "{$third}{$double}00명 징병";
break;
case 12: //모병
$third = getTypename($command[2]);
$third = GameUnitConst::byID($command[2])->name;
$double = $command[1];
$str[$i] = "{$third}{$double}00명 모병";
break;