1.修复关闭自动创建下一局后还自动创建下一期
This commit is contained in:
@@ -144,6 +144,8 @@ class Live extends Backend
|
||||
GameRecordService::setAutoCreateEnabled($enabled);
|
||||
if ($enabled) {
|
||||
GameRecordService::bootstrapPeriodWhenRuntimeEnabled();
|
||||
} else {
|
||||
GameLiveService::voidOrphanActiveRoundsOnRuntimeDisabled();
|
||||
}
|
||||
return $this->success('', GameLiveService::buildSnapshot(null));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user