mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-15 07:21:50 +08:00
Fix a multiplayer bug that I cannot reproduce
This commit is contained in:
parent
2232c36182
commit
a62184e0d2
@ -276,7 +276,7 @@ async def connection(ws, path):
|
||||
if "other_user" in user and "ws" in user["other_user"]:
|
||||
if type == "songsel" or type == "catjump":
|
||||
# Change song select position
|
||||
if user["other_user"]["action"] == "songsel":
|
||||
if user["other_user"]["action"] == "songsel" and type(value) is dict:
|
||||
value["player"] = user["player"]
|
||||
sent_msg = msgobj(type, value)
|
||||
await asyncio.wait([
|
||||
|
Loading…
Reference in New Issue
Block a user