버그 패치

- 메인 페이지에서 턴 실행으로 세션락이 걸리지 않도록.
- 토너먼트에서 매 라운드마다 텍스트가 초기화 되지 않던 문제 해결
- 전투 로그 표기에서  불필요한 빈칸 제거
This commit is contained in:
Hide_D committed 2018-04-11 01:08:12 +09:00
1 parent 5c8194b36d
commit 3004b20c87
4 files changed
+21 -19

No files matched your search

+13
View File
@@ -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);
}