aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-06-04 22:19:03 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-04 22:19:03 +0200
commitf077fd79246e0ddced696d8b3f9c12a648577abf (patch)
tree02acd35ec4ef819455e4e260547fce6c7185b1e9 /src/lib.rs
parentd50cbd513c7208cb2a5c13571a964544b9470017 (diff)
downloadgpn-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.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index e216643..a4d422f 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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,
}