Skip to content

Commit

Permalink
fix wrong chatbox being used for when a KFO client speaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Crystalwarrior committed May 10, 2024
1 parent 70cf3bc commit 0e5215c
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 @@ -251,7 +251,7 @@ def send_command(self, command, *args):
offset_pair_x = str(args[20]).split('<and>')[0]

# Pair data detected!
if (charid_pair and charid_pair != "-1") or self_offset_x != 0:
if (charid_pair and charid_pair != "-1") or (self_offset_x and self_offset_x != "0"):
pair_jsn_packet = {}
pair_jsn_packet['packet'] = 'pair_data'
pair_jsn_packet['data'] = {}
Expand Down

0 comments on commit 0e5215c

Please sign in to comment.