]> www.fi.muni.cz Git - slotcarman.git/commit
Track: drop the ->reset method
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Sat, 7 May 2011 21:52:37 +0000 (23:52 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Sat, 7 May 2011 21:52:37 +0000 (23:52 +0200)
commitcdde130ace5a74cd817d4600033789343e72d317
tree43c9a6b22d3ca66a91165ce910ffab9ba6d99a62
parent237e7da2cfdcfcee1a223e60b4706b7bdb877055
Track: drop the ->reset method

RaceParser does not implement its own ->reset, so the Track does
not need it either. It is sent before the qual start, so it can
only confuse things.

Instead, reset the cars in the race_setup method.
SCX/Car.pm
SCX/Track.pm