rust/hedgewars-server/src/server/actions.rs
changeset 14456 a077aac9df01
parent 14415 06672690d71b
child 14457 98ef2913ec73
equal deleted inserted replaced
14455:df366c5b8440 14456:a077aac9df01
    19         server_chat
    19         server_chat
    20     },
    20     },
    21     utils::to_engine_msg
    21     utils::to_engine_msg
    22 };
    22 };
    23 use rand::{thread_rng, Rng, distributions::Uniform};
    23 use rand::{thread_rng, Rng, distributions::Uniform};
       
    24 
       
    25 #[cfg(feature = "official-server")]
       
    26 use super::database;
    24 
    27 
    25 pub enum Destination {
    28 pub enum Destination {
    26     ToId(ClientId),
    29     ToId(ClientId),
    27     ToSelf,
    30     ToSelf,
    28     ToAll {
    31     ToAll {