diff --git a/nonebot_plugin_tetris_stats/games/tetrio/record/blitz.py b/nonebot_plugin_tetris_stats/games/tetrio/record/blitz.py index 331e3c7..81ad785 100644 --- a/nonebot_plugin_tetris_stats/games/tetrio/record/blitz.py +++ b/nonebot_plugin_tetris_stats/games/tetrio/record/blitz.py @@ -85,8 +85,8 @@ async def make_blitz_image(player: Player) -> bytes: kpp=round(endcontext.inputs / endcontext.piecesplaced, 2), kps=round(endcontext.inputs / duration, 2), max=Max( - combo=max((0, endcontext.combo - 1)), - btb=max((0, endcontext.btb - 1)), + combo=max((0, endcontext.topcombo - 1)), + btb=max((0, endcontext.topbtb - 1)), ), pieces=endcontext.piecesplaced, pps=metrics.pps, diff --git a/nonebot_plugin_tetris_stats/games/tetrio/record/sprint.py b/nonebot_plugin_tetris_stats/games/tetrio/record/sprint.py index 5b021d6..33e4ec0 100644 --- a/nonebot_plugin_tetris_stats/games/tetrio/record/sprint.py +++ b/nonebot_plugin_tetris_stats/games/tetrio/record/sprint.py @@ -87,8 +87,8 @@ async def make_sprint_image(player: Player) -> bytes: kpp=round(endcontext.inputs / endcontext.piecesplaced, 2), kps=round(endcontext.inputs / duration, 2), max=Max( - combo=max((0, endcontext.combo - 1)), - btb=max((0, endcontext.btb - 1)), + combo=max((0, endcontext.topcombo - 1)), + btb=max((0, endcontext.topbtb - 1)), ), pieces=endcontext.piecesplaced, pps=metrics.pps,