fix remark on guest ID

This commit is contained in:
beerpsi 2024-04-23 08:27:56 +00:00
parent 769bd2a45f
commit 7fe3e83943

View File

@ -294,7 +294,7 @@ class OngekiBase:
async def handle_upsert_user_gplog_api_request(self, data: Dict) -> Dict:
user = data["userId"]
# If playing as guest, the user ID is xor(0x1000000000001, (placeId & 65535) << 32)
# If playing as guest, the user ID is or(0x1000000000001, (placeId & 65535) << 32)
if user & 0x1000000000001 == 0x1000000000001:
user = None