game,refac: 토너먼트 진행 시간을 턴 시간에 맞춤(최소 5초)

This commit is contained in:
2022-07-04 23:59:04 +09:00
parent e7918469e5
commit f9a73be82b
10 changed files with 105 additions and 220 deletions
+1 -8
View File
@@ -163,7 +163,7 @@ class ResetHelper{
bool $block_general_create,
int $npcmode,
int $show_img_level,
int $tournament_trig,
bool $tournament_trig,
string $join_mode,
string $turntime,
?array $autorun_user
@@ -176,13 +176,6 @@ class ResetHelper{
];
}
if($tournament_trig < 0 || $tournament_trig > 7){
return [
'result'=>false,
'reason'=>'올바르지 않은 토너먼트 주기입니다.'
];
}
$clearResult = self::clearDB();
if(!$clearResult['result']){
return $clearResult;