mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 02:10:21 +08:00
renamed.
This commit is contained in:
@@ -6,16 +6,16 @@ using namespace asst;
|
||||
|
||||
bool StartGameTask::_run()
|
||||
{
|
||||
if(m_ctrler->start_game(m_server_type))
|
||||
if(m_ctrler->start_game(m_client_type))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
StartGameTask& StartGameTask::set_param(std::string server_type) noexcept
|
||||
StartGameTask& StartGameTask::set_param(std::string client_type) noexcept
|
||||
{
|
||||
m_server_type = server_type;
|
||||
m_client_type = client_type;
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user