mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-23 20:38:07 +01:00
Fix bug.
This commit is contained in:
parent
1c141783ac
commit
4882344673
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue