[Friends] Use joystick emblem
This commit is contained in:
parent
4428f70aeb
commit
2f3e665c89
@ -116,7 +116,7 @@ namespace Components
|
|||||||
int notify = Dvar::Var("cl_notifyFriendState").get<int>();
|
int notify = Dvar::Var("cl_notifyFriendState").get<int>();
|
||||||
if(gotOnline && (notify == -1 || (notify == 1 && !Game::CL_IsCgameInitialized())) && !Dvar::Var("ui_streamFriendly").get<bool>())
|
if(gotOnline && (notify == -1 || (notify == 1 && !Game::CL_IsCgameInitialized())) && !Dvar::Var("ui_streamFriendly").get<bool>())
|
||||||
{
|
{
|
||||||
Toast::Show("cardicon_weed", entry->name, "is playing IW4x", 3000);
|
Toast::Show("cardicon_joystick", entry->name, "is playing IW4x", 3000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -410,7 +410,7 @@ namespace Components
|
|||||||
{
|
{
|
||||||
if(Steam::Proxy::ClientFriends.invoke<bool>("AddFriend", user))
|
if(Steam::Proxy::ClientFriends.invoke<bool>("AddFriend", user))
|
||||||
{
|
{
|
||||||
Toast::Show("cardicon_weed", Steam::Proxy::SteamFriends->GetFriendPersonaName(user), "friend request sent", 3000);
|
Toast::Show("cardicon_joystick", Steam::Proxy::SteamFriends->GetFriendPersonaName(user), "friend request sent", 3000);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user