fix a bug with stop signs that probably didnt even happen

This commit is contained in:
Dustin Carlino 2018-08-09 12:04:55 -07:00
parent 6c6dbee529
commit 850df3de4e

View File

@ -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);
}
}