버그 패치
- 메인 페이지에서 턴 실행으로 세션락이 걸리지 않도록. - 토너먼트에서 매 라운드마다 텍스트가 초기화 되지 않던 문제 해결 - 전투 로그 표기에서 불필요한 빈칸 제거
This commit is contained in:
@@ -43,6 +43,19 @@ function getFormattedFileLogAll(string $path){
|
||||
}, getRawFileLogAll($path));
|
||||
}
|
||||
|
||||
function eraseTnmtFightLogAll(){
|
||||
foreach(range(0, 49) as $i){
|
||||
eraseTnmtFightLog($i);
|
||||
}
|
||||
}
|
||||
|
||||
function eraseTnmtFightLog(int $group){
|
||||
$filepath = "logs/fight{$group}.txt";
|
||||
if(file_exists($filepath)){
|
||||
@unlink($filepath);
|
||||
}
|
||||
}
|
||||
|
||||
function pushTnmtFightLog(int $group, $log) {
|
||||
pushRawFileLog("logs/fight{$group}.txt", $log);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user