From ff91bd41c52fed9ce2235e3a4ecfa8bc2654963f Mon Sep 17 00:00:00 2001 From: sr0 Date: Wed, 15 Feb 2017 20:33:38 +0100 Subject: [PATCH] [Friends] Do not show friend status notifications while Stream Friendly UI is enabled --- src/Components/Modules/Friends.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Modules/Friends.cpp b/src/Components/Modules/Friends.cpp index 230b0f32..0ef4826e 100644 --- a/src/Components/Modules/Friends.cpp +++ b/src/Components/Modules/Friends.cpp @@ -114,7 +114,7 @@ namespace Components Friends::SortList(); int notify = Dvar::Var("cl_notifyFriendState").get(); - if(gotOnline && (notify == -1 || (notify == 1 && !Game::CL_IsCgameInitialized()))) + if(gotOnline && (notify == -1 || (notify == 1 && !Game::CL_IsCgameInitialized())) && !Dvar::Var("ui_streamFriendly").get()) { Toast::Show("cardicon_weed", entry->name, "is playing IW4x", 3000); }