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; }