[Friends] Use feeder 6, this should be the best choice
This commit is contained in:
parent
07746095b7
commit
c211fe7fa2
@ -166,7 +166,7 @@ namespace Components
|
|||||||
Friends::UpdateFriends();
|
Friends::UpdateFriends();
|
||||||
});
|
});
|
||||||
|
|
||||||
UIFeeder::Add(15.0f, Friends::GetFriendCount, Friends::GetFriendText, Friends::SelectFriend);
|
UIFeeder::Add(6.0f, Friends::GetFriendCount, Friends::GetFriendText, Friends::SelectFriend);
|
||||||
}
|
}
|
||||||
|
|
||||||
Friends::~Friends()
|
Friends::~Friends()
|
||||||
|
@ -46,7 +46,7 @@ namespace Steam
|
|||||||
gameID.m_nModID = 0x01010101;
|
gameID.m_nModID = 0x01010101;
|
||||||
|
|
||||||
char ourPath[MAX_PATH] = { 0 };
|
char ourPath[MAX_PATH] = { 0 };
|
||||||
GetModuleFileNameA(GetModuleHandle(NULL), ourPath, sizeof(ourPath));
|
GetModuleFileNameA(GetModuleHandle(nullptr), ourPath, sizeof(ourPath));
|
||||||
|
|
||||||
char ourDirectory[MAX_PATH] = { 0 };
|
char ourDirectory[MAX_PATH] = { 0 };
|
||||||
GetCurrentDirectoryA(sizeof(ourDirectory), ourDirectory);
|
GetCurrentDirectoryA(sizeof(ourDirectory), ourDirectory);
|
||||||
@ -62,8 +62,6 @@ namespace Steam
|
|||||||
char* command = "-parentProc ";
|
char* command = "-parentProc ";
|
||||||
char* parentProc = strstr(GetCommandLineA(), command);
|
char* parentProc = strstr(GetCommandLineA(), command);
|
||||||
|
|
||||||
OutputDebugStringA(GetCommandLineA());
|
|
||||||
|
|
||||||
if (parentProc)
|
if (parentProc)
|
||||||
{
|
{
|
||||||
parentProc += strlen(command);
|
parentProc += strlen(command);
|
||||||
|
Loading…
Reference in New Issue
Block a user