This commit is contained in:
Mr_Goldberg 2020-05-23 09:11:39 -04:00
parent 1c141783ac
commit 4882344673
No known key found for this signature in database
GPG key ID: 8597D87419DEF278

View file

@ -138,7 +138,7 @@ void remove_connection(CSteamID id)
auto msg = std::begin(unprocessed_messages); auto msg = std::begin(unprocessed_messages);
while (msg != std::end(unprocessed_messages)) { while (msg != std::end(unprocessed_messages)) {
if (msg->source_id() == id.ConvertToUint64()) { if (msg->source_id() == id.ConvertToUint64()) {
msg = messages.erase(msg); msg = unprocessed_messages.erase(msg);
} else { } else {
++msg; ++msg;
} }