[Friends] Use feeder 6, this should be the best choice

This commit is contained in:
momo5502 2017-01-26 22:14:44 +01:00
parent 07746095b7
commit c211fe7fa2
2 changed files with 2 additions and 4 deletions

View File

@ -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()

View File

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