add :emote and :list to chat
This commit is contained in:
parent
1ca300098f
commit
bd28e201a2
7 changed files with 741 additions and 22 deletions
|
|
@ -292,7 +292,8 @@ async fn handle_socket(
|
|||
});
|
||||
}
|
||||
ClientMessage::UpdateEmotion { emotion } => {
|
||||
if emotion > 9 {
|
||||
// We have 12 emotions (0-11)
|
||||
if emotion > 11 {
|
||||
continue;
|
||||
}
|
||||
let emotion_layer = match avatars::set_emotion(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue