diff options
author | metamuffin <metamuffin@disroot.org> | 2024-06-04 21:53:00 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-06-04 21:53:00 +0200 |
commit | d50cbd513c7208cb2a5c13571a964544b9470017 (patch) | |
tree | 1d6e19928713d592b01bf1652285c49789f32051 /src/lib.rs | |
parent | 5063701929569fe37ca4b8659bd52981f8e7b77c (diff) | |
download | gpn-tron-rust-d50cbd513c7208cb2a5c13571a964544b9470017.tar gpn-tron-rust-d50cbd513c7208cb2a5c13571a964544b9470017.tar.bz2 gpn-tron-rust-d50cbd513c7208cb2a5c13571a964544b9470017.tar.zst |
show chat and winners
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ pub mod game; pub mod spectate; pub struct State { - pub tick: broadcast::Sender<bool>, // true for new game + pub tick: broadcast::Sender<Option<Option<u32>>>, pub game: RwLock<Game>, pub players: RwLock<HashMap<u32, String>>, pub win_history: RwLock<VecDeque<String>>, |