diff --git a/danding_bot/plugins/group_horse_racing/test_commands.py b/danding_bot/plugins/group_horse_racing/test_commands.py index 579d1cd..7d22724 100644 --- a/danding_bot/plugins/group_horse_racing/test_commands.py +++ b/danding_bot/plugins/group_horse_racing/test_commands.py @@ -341,7 +341,7 @@ async def handle_test_simulate_race(bot: Bot, event: Event): return participant_calls = [c for c in fake_points_service.calls if c[0] == "reward_participant"] - if len(participant_calls) != max(0, len(room.horses) - 1): + if len(participant_calls) != len(room.horses): await test_simulate_race_cmd.send("完全模拟失败:参赛奖励次数不匹配(内存记录)") return