mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-01 02:33:54 +03:00
fix a bug with stop signs that probably didnt even happen
This commit is contained in:
parent
6c6dbee529
commit
850df3de4e
@ -248,10 +248,10 @@ impl StopSign {
|
||||
}
|
||||
|
||||
newly_accepted.push(req.clone());
|
||||
self.accepted.insert(req.agent, req.turn);
|
||||
}
|
||||
|
||||
for req in newly_accepted.into_iter() {
|
||||
self.accepted.insert(req.agent, req.turn);
|
||||
self.started_waiting_at.remove(&req);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user