diff options
author | metamuffin <metamuffin@disroot.org> | 2024-06-04 22:19:03 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-06-04 22:19:03 +0200 |
commit | f077fd79246e0ddced696d8b3f9c12a648577abf (patch) | |
tree | 02acd35ec4ef819455e4e260547fce6c7185b1e9 /src/lib.rs | |
parent | d50cbd513c7208cb2a5c13571a964544b9470017 (diff) | |
download | gpn-tron-rust-f077fd79246e0ddced696d8b3f9c12a648577abf.tar gpn-tron-rust-f077fd79246e0ddced696d8b3f9c12a648577abf.tar.bz2 gpn-tron-rust-f077fd79246e0ddced696d8b3f9c12a648577abf.tar.zst |
scoreboard
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2,7 +2,7 @@ #![feature(iterator_try_collect)] use game::Game; use redb::Database; -use std::collections::{HashMap, VecDeque}; +use std::collections::HashMap; use tokio::sync::{broadcast, RwLock}; pub mod bot; @@ -15,7 +15,6 @@ pub struct State { pub tick: broadcast::Sender<Option<Option<u32>>>, pub game: RwLock<Game>, pub players: RwLock<HashMap<u32, String>>, - pub win_history: RwLock<VecDeque<String>>, pub chat: broadcast::Sender<(String, String)>, pub db: Database, } |