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
1 changed files with 1 additions and 1 deletions

View File

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