From 2d02824e0a4f08c4a385d487e3dc74fcd500aa25 Mon Sep 17 00:00:00 2001 From: eli fessler Date: Tue, 29 Nov 2022 11:14:53 -1000 Subject: [PATCH] fix typo...?? --- s3s.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/s3s.py b/s3s.py index fd15f07..919daa0 100755 --- a/s3s.py +++ b/s3s.py @@ -907,8 +907,8 @@ def prepare_job_result(job, ismonitoring, isblackout, overview_data=None): player_info["uniform"] = translate_slop[slop_num] try: - special_id = - player_info["special"] = translate_special[player["specialWeapon"]["weaponId"]] + special_id = player["specialWeapon"]["weaponId"] + player_info["special"] = translate_special[special_id] except TypeError: # player.specialWeapon is null - player dc'd pass except KeyError: # invalid special weapon - likely defaulted to '1' before it could be assigned