This commit is contained in:
lhhxxxxx
2022-06-05 18:35:13 +08:00
parent 9cdca12bec
commit a69267b924
4 changed files with 8 additions and 8 deletions

View File

@@ -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;
}