- for line in file.readlines():
- if world_db["turn"] >= opts.replay:
- break
- obey(line.rstrip(), io_db, "record file line " + str(line_n))
+ while world_db["turn"] < opts.replay:
+ server_test(io_db)
+ obey(file.readline().rstrip(), io_db, prefix + str(line_n))