aboutsummaryrefslogtreecommitdiff
path: root/server/src/state.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-07-14 18:20:05 +0200
committermetamuffin <metamuffin@disroot.org>2024-07-14 18:20:05 +0200
commit52f422a01be059a120908a8d1f63335116ccf0e1 (patch)
tree842583c89e8e179969133c8cee6c8a5a7127c237 /server/src/state.rs
parentbebbe65f7dfe276521fec438b70d77800bf98d18 (diff)
downloadhurrycurry-52f422a01be059a120908a8d1f63335116ccf0e1.tar
hurrycurry-52f422a01be059a120908a8d1f63335116ccf0e1.tar.bz2
hurrycurry-52f422a01be059a120908a8d1f63335116ccf0e1.tar.zst
imrove sushibar
Diffstat (limited to 'server/src/state.rs')
-rw-r--r--server/src/state.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/src/state.rs b/server/src/state.rs
index 215f9a1b..347e2a92 100644
--- a/server/src/state.rs
+++ b/server/src/state.rs
@@ -15,13 +15,12 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-use std::time::Duration;
-
use crate::{data::DataIndex, game::Game};
use anyhow::{anyhow, bail, Result};
use clap::{Parser, ValueEnum};
use hurrycurry_protocol::{Message, PacketC, PacketS, PlayerID};
use log::{debug, trace};
+use std::time::Duration;
use tokio::sync::broadcast::Sender;
pub struct State {