diff --git a/src/Components/Modules/Dedicated.cpp b/src/Components/Modules/Dedicated.cpp index 9ef93cc0..5345e6db 100644 --- a/src/Components/Modules/Dedicated.cpp +++ b/src/Components/Modules/Dedicated.cpp @@ -223,7 +223,7 @@ namespace Components Dedicated::PlayerGuids[client][0].bits = strtoull(params.get(2 * client + 1), nullptr, 16); Dedicated::PlayerGuids[client][1].bits = strtoull(params.get(2 * client + 2), nullptr, 16); - if(Steam::Proxy::SteamFriends) + if(Steam::Proxy::SteamFriends && Dedicated::PlayerGuids[client][1].bits != 0) { Steam::Proxy::SteamFriends->SetPlayedWith(Dedicated::PlayerGuids[client][1]); }