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
+2 -2
View File
@@ -111,7 +111,7 @@ $extend = (int)$_POST['extend'];
$npcmode = (int)$_POST['npcmode'];
$block_general_create = (bool)$_POST['block_general_create'];
$show_img_level = (int)$_POST['show_img_level'];
$tournament_trig = (int)$_POST['tournament_trig'];
$tournament_trig = !!(int)$_POST['tournament_trig'];
$join_mode = $_POST['join_mode'];
$autorun_user_minutes = (int)$_POST['autorun_user_minutes'];
$autorun_user_options = [];
@@ -208,7 +208,7 @@ Json::die(ResetHelper::buildScenario(
$block_general_create,
$npcmode,
$show_img_level,
$tournament_trig,
!!$tournament_trig,
$join_mode,
TimeUtil::now(),
$autorun_user