feat: Stop implementation

This commit is contained in:
Constrat
2024-05-14 08:12:04 +00:00
committed by GitHub
parent 23aae25a17
commit ef05434ca1

View File

@@ -9,6 +9,10 @@ bool StartGameTaskPlugin::start_game_with_retries(size_t pipe_data_size_limit, b
{
int extra_runs = 0;
for (int i = 0; i < 30; ++i) {
if (need_exit()) {
return false;
}
if (!ctrler()->start_game(m_client_type)) {
return false;
}