From 6fe573ef7b6787b3168a9e9e98a30cd0ac36f335 Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 8 Feb 2022 20:39:49 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=86=A0=EB=84=88=EB=A8=BC=ED=8A=B8=20?= =?UTF-8?q?=EC=8B=A4=ED=96=89=20=EC=A3=BC=EA=B8=B0=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=EC=B4=88=EA=B8=B0=ED=99=94=EC=8B=9C=20'=EC=88=98=EB=8F=99'?= =?UTF-8?q?=EB=9C=A8=EB=8A=94=20=EB=AC=B8=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_tournament.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hwe/func_tournament.php b/hwe/func_tournament.php index 80fd8744..c67754c6 100644 --- a/hwe/func_tournament.php +++ b/hwe/func_tournament.php @@ -169,6 +169,9 @@ function getTournamentTerm(): ?int{ $gameStor = KVStorage::getStorage($db, 'game_env'); $tnmt_auto = $gameStor->tnmt_auto; + if($tnmt_auto === null){ + $tnmt_auto = $gameStor->tnmt_trig; + } switch($tnmt_auto){ case 0: return null; case 1: return 12 * 60;