정적 분석기 결과 반영. 주로 배열 초기화. 변수 이름 실수 수정.

This commit is contained in:
2018-04-06 20:06:28 +09:00
parent 2bce82c73e
commit ffc0fc0c6f
20 changed files with 109 additions and 94 deletions
+2
View File
@@ -2,6 +2,7 @@
namespace sammo;
function getTurn($general, $type, $font=1) {
$str = [];
$db = DB::db();
$connect=$db->get();
@@ -256,6 +257,7 @@ function getTurn($general, $type, $font=1) {
function getCoreTurn($nation, $level) {
$db = DB::db();
$connect=$db->get();
$str = [];
$turn[0] = $nation["l{$level}turn0"];
$turn[1] = $nation["l{$level}turn1"];