From 704ab9cf24cb77e6bc65ed643456ce35516916fd Mon Sep 17 00:00:00 2001 From: Skull <86374920+skkuull@users.noreply.github.com> Date: Fri, 12 Aug 2022 10:19:56 +0300 Subject: [PATCH] [skip ci] --- src/client/component/steam_proxy.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/client/component/steam_proxy.cpp b/src/client/component/steam_proxy.cpp index 117cab4f..db8da166 100644 --- a/src/client/component/steam_proxy.cpp +++ b/src/client/component/steam_proxy.cpp @@ -31,12 +31,7 @@ namespace steam_proxy public: void post_load() override { - if (game::environment::is_dedi() || is_disabled()) - { - return; - } - - if (!FindWindowA(0, "Steam")) + if (game::environment::is_dedi() || is_disabled() || !FindWindowA(0, "Steam")) { return; }