[Bug fix] Link Play second play error

- Fix a bug that if players do not start the first play in one room, their scores will be wrong.
- For Arcaea 5.10.6
This commit is contained in:
Lost-MSth
2024-10-26 17:07:36 +08:00
parent 6f964d7a78
commit a6c26dedfe
4 changed files with 79 additions and 3 deletions

View File

@@ -247,6 +247,10 @@ class CommandParser:
self.room.make_round()
logging.info(f'Room `{self.room.room_code}` starts playing')
for p in self.room.players:
# 防止提前结算
p.finish_flag = 0
if self.room.state == 4:
# 这好像会误判
# if player.download_percent < 99: