diff --git a/Runtime/MP1/CMainFlow.cpp b/Runtime/MP1/CMainFlow.cpp index 8822d8c9c..5cf040a5f 100644 --- a/Runtime/MP1/CMainFlow.cpp +++ b/Runtime/MP1/CMainFlow.cpp @@ -90,9 +90,9 @@ void CMainFlow::SetGameState(EClientFlowStates state, CArchitectureQueue& queue) } case EClientFlowStates::Game: { g_GameState->GameOptions().EnsureSettings(); - std::shared_ptr gameLoader = std::make_shared(); + auto gameLoader = std::make_shared(); main->SetFlowState(EFlowState::Default); - queue.Push(MakeMsg::CreateCreateIOWin(EArchMsgTarget::IOWinManager, 10, 1000, gameLoader)); + queue.Push(MakeMsg::CreateCreateIOWin(EArchMsgTarget::IOWinManager, 10, 1000, std::move(gameLoader))); break; } default: