lpzrobots
lpzrobots copied to clipboard
Change logic for calling restart() in main loop
This change will mean that
- restart() actually gets called every simulation loop
- A simulation can be restart by an overloaded version of Simulation::restart() simply returning true.
restart() doesn't seem to be used much in the main repo, but there are a couple of simulations that might need modification.