mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-23 19:25:35 +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);
|
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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user