mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-27 13:14:01 +08: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