mjcortejo / csc931m-complex-systems

This repository contains the projects done for the CSC931M class
0 stars 0 forks source link

Cars are not properly despawned and removed from network. #30

Closed mjcortejo closed 1 year ago

mjcortejo commented 1 year ago

Line in question:

https://github.com/mjcortejo/csc931m-complex-systems/blob/7de0fe52a9521d99f94dc4d4e7e0f0e1c2d4d805/main.py#L604

There used to be a despawn function that removes them from the network, previously implemented as:

https://github.com/mjcortejo/csc931m-complex-systems/blob/9c1127c7219432ccd552bc62b70ad7c11754d456/main.py#L566-L568

mjcortejo commented 1 year ago

Will probably be fixed in #22 PR

mjcortejo commented 1 year ago

Lol so actually the new despawn function actually works.

Just placed the remove_car function once the stop iteration is executed.

Will close now