Fix character load

This commit is contained in:
drmext 2024-02-19 08:00:24 +00:00
parent 613ea0da78
commit 99609e6f53
No known key found for this signature in database
GPG Key ID: F1ED48FFE79A6961
2 changed files with 2 additions and 2 deletions

View File

@ -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])

View File

@ -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])