mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-10 19:10:58 +00:00
Fix bug.
This commit is contained in:
parent
1c141783ac
commit
4882344673
@ -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 New Issue
Block a user