rust/hedgewars-server/src/handlers.rs
changeset 15804 747278149393
parent 15543 02f648f7cbe1
child 15810 ee84e417d8d0
--- a/rust/hedgewars-server/src/handlers.rs	Wed Jun 23 15:32:48 2021 -0400
+++ b/rust/hedgewars-server/src/handlers.rs	Wed Jun 23 23:41:51 2021 +0200
@@ -10,19 +10,24 @@
     inanteroom::LoginResult,
     strings::*,
 };
+use crate::handlers::actions::ToPendingMessage;
 use crate::{
     core::{
         anteroom::HwAnteroom,
         room::RoomSave,
         server::HwServer,
-        types::{ClientId, GameCfg, Replay, RoomId, TeamInfo},
+        types::{ClientId, Replay, RoomId},
     },
-    protocol::messages::{
+    utils,
+};
+use hedgewars_network_protocol::{
+    messages::{
         global_chat, server_chat, HwProtocolMessage, HwProtocolMessage::EngineMessage,
         HwServerMessage, HwServerMessage::*,
     },
-    utils,
+    types::{GameCfg, TeamInfo},
 };
+
 use base64::encode;
 use log::*;
 use rand::{thread_rng, RngCore};