버그 패치
- 메인 페이지에서 턴 실행으로 세션락이 걸리지 않도록. - 토너먼트에서 매 라운드마다 텍스트가 초기화 되지 않던 문제 해결 - 전투 로그 표기에서 불필요한 빈칸 제거
This commit is contained in:
@@ -232,12 +232,7 @@ function startTournament($auto, $type) {
|
||||
$db = DB::db();
|
||||
$connect=$db->get();
|
||||
|
||||
for($i=0; $i<50; $i++){
|
||||
$filepath = "logs/fight{$i}.txt";
|
||||
if(file_exists($filepath)){
|
||||
@unlink($filepath);
|
||||
}
|
||||
}
|
||||
eraseTnmtFightLogAll();
|
||||
|
||||
switch($auto) {
|
||||
case 1: $unit = 60; break;
|
||||
@@ -760,6 +755,8 @@ function fight($tnmt_type, $tnmt, $phs, $group, $g1, $g2, $type) {
|
||||
$db = DB::db();
|
||||
$connect=$db->get();
|
||||
|
||||
eraseTnmtFightLog($group);
|
||||
|
||||
$query = "select *,(ldr+pwr+itl)*7/15 as tot,h,w,b from tournament where grp='$group' and grp_no='$g1'";
|
||||
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
$gen1 = MYDB_fetch_array($result);
|
||||
|
||||
Reference in New Issue
Block a user