Closed JackOE3 closed 11 months ago
Is there any reason why ghost.records
cannot be cut off before doing anything first and then all of the other code follows unchanged?
finish_index = int(ghost.race_time / 100)
for idx, record in enumerate(ghost.records[:finish_index]):
process_blocks
insidepreprocessing.py
now compares the time of the sample record against therace_time
of the replay and and returns as soon as that time is reached