From 99609e6f53261d90d78ea9b438c1b09c7bd72c83 Mon Sep 17 00:00:00 2001 From: drmext <71258889+drmext@users.noreply.github.com> Date: Mon, 19 Feb 2024 08:00:24 +0000 Subject: [PATCH] Fix character load --- modules/ddr/playerdata.py | 2 +- modules/ddr/playerdata_2.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ddr/playerdata.py b/modules/ddr/playerdata.py index 083f577..a644f2e 100644 --- a/modules/ddr/playerdata.py +++ b/modules/ddr/playerdata.py @@ -603,7 +603,7 @@ async def playerdata_usergamedata_recv(request: Request): common = profile["common"].split(",") common[5] = calories_disp.index(profile["calories_disp"]) - common[6] = character.index(profile["character"]) + common[6] = f'{character.index(profile["character"]):x}' common[9] = 1 # Mobile link common_load = ",".join([str(i) for i in common]) diff --git a/modules/ddr/playerdata_2.py b/modules/ddr/playerdata_2.py index a7cd1ec..44eeb9d 100644 --- a/modules/ddr/playerdata_2.py +++ b/modules/ddr/playerdata_2.py @@ -640,7 +640,7 @@ async def playerdata_2_usergamedata_recv(request: Request): common = profile["common"].split(",") common[5] = calories_disp.index(profile["calories_disp"]) - common[6] = character.index(profile["character"]) + common[6] = f'{character.index(profile["character"]):x}' common[9] = 1 # Mobile link common_load = ",".join([str(i) for i in common])