1.修复关闭自动创建下一局后还自动创建下一期

This commit is contained in:
2026-05-26 16:10:06 +08:00
parent 8c3f3c4e2c
commit 66c002f522
3 changed files with 171 additions and 50 deletions

View File

@@ -144,6 +144,8 @@ class Live extends Backend
GameRecordService::setAutoCreateEnabled($enabled);
if ($enabled) {
GameRecordService::bootstrapPeriodWhenRuntimeEnabled();
} else {
GameLiveService::voidOrphanActiveRoundsOnRuntimeDisabled();
}
return $this->success('', GameLiveService::buildSnapshot(null));
}