mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 18:20:39 +08:00
feat: Stop implementation
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user