feat: TOURNAMENT:START:ACK
This commit is contained in:
1 parent
ccd48d0d44
commit
356a1b63ef
1 file changed
+2
@@ -734,6 +734,8 @@ async fn handle_connection(
|
||||
|
||||
matches.write().await.insert(match_id, new_match.clone());
|
||||
}
|
||||
|
||||
let _ = send(&tx, "TOURNAMENT:START:ACK");
|
||||
}
|
||||
else if text.starts_with("TOURNAMENT:WAIT:") {
|
||||
if admin.read().await.is_none() || admin.read().await.unwrap() != addr {
|
||||
|
||||
Reference in new issue
Block a user