From 14213ea3cd72d0f3d5f3bb21f52c815d7823321f Mon Sep 17 00:00:00 2001 From: hide_d Date: Mon, 21 May 2018 23:22:49 +0900 Subject: [PATCH] =?UTF-8?q?=ED=86=A0=EB=84=88=EB=A8=BC=ED=8A=B8=20?= =?UTF-8?q?=EC=9D=B8=EC=9E=90=20=EC=8B=A4=EC=88=98=20=EC=B2=B4=ED=81=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_tournament.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hwe/func_tournament.php b/hwe/func_tournament.php index c29936ff..ac32e4dd 100644 --- a/hwe/func_tournament.php +++ b/hwe/func_tournament.php @@ -109,7 +109,7 @@ function processTournament() { $second = $unit * $iter; $gameStor->tournament = $tnmt; $gameStor->phase = $phase; - $gameStor->tnmt_time = (new \DateTimeImmutable($gameStor->tnmt_time))->add(new \DateInterval("PT{$second}S"))->format('Y-m-d H:i:s'); + $gameStor->tnmt_time = (new \DateTimeImmutable($admin['tnmt_time']))->add(new \DateInterval("PT{$second}S"))->format('Y-m-d H:i:s'); } } @@ -255,7 +255,6 @@ function startTournament($auto, $type) { $gameStor->tournament = 1; $gameStor->tnmt_type = $type; $gameStor->phase = 0; - $gameStor->bet = 0; for($i=0;$i<16;$i+=1){ $gameStor->setValue("bet{$i}", 0); }