fix: 토너먼트 실행 주기에서 초기화시 '수동'뜨는 문제

This commit is contained in:
2022-02-08 20:39:49 +09:00
parent 2a7baf020f
commit 6fe573ef7b
+3
View File
@@ -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;