Skip to content

Commit

Permalink
Fix other_flip being interpreted as "true" cuz it's passed as a strin…
Browse files Browse the repository at this point in the history
…g and not int
  • Loading branch information
Crystalwarrior committed May 15, 2024
1 parent 73aec30 commit 5f3fd54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/client_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def send_command(self, command, *args):
if len(args) > 18:
other_emote = args[18]
if len(args) > 21:
other_flip = bool(args[21])
other_flip = bool(int(args[21]))
pair_jsn_packet['data']['character'] = other_folder
pair_jsn_packet['data']['last_sprite'] = other_emote
pair_jsn_packet['data']['flipped'] = other_flip
Expand Down

0 comments on commit 5f3fd54

Please sign in to comment.