Disable scoresheet skipping, change multiplayer string and bg

This commit is contained in:
LoveEevee
2018-11-02 13:26:46 +03:00
parent 426bc160c6
commit 82963f7912
8 changed files with 81 additions and 50 deletions

View File

@@ -169,13 +169,12 @@ async def connection(ws, path):
if "other_user" in user and "ws" in user["other_user"]:
if type == "note"\
or type == "drumroll"\
or type == "gameresults"\
or type == "scorenext" and user["session"]:
or type == "gameresults":
await user["other_user"]["ws"].send(msgobj(type, value))
elif type == "songsel" and user["session"]:
user["action"] = "songsel"
user["other_user"]["action"] = "songsel"
sent_msg1 = msgobj(type)
sent_msg1 = msgobj("songsel")
sent_msg2 = msgobj("users", [])
await asyncio.wait([
ws.send(sent_msg1),