[Friends] Do not show friend status notifications while Stream Friendly UI is enabled

This commit is contained in:
sr0 2017-02-15 20:33:38 +01:00
parent c0889e25bc
commit ff91bd41c5

View File

@ -114,7 +114,7 @@ namespace Components
Friends::SortList(); Friends::SortList();
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()))) 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_weed", entry->name, "is playing IW4x", 3000);
} }