fn tick(&mut self) {
        self.timer.count += 1;

        if self.timer.count % self.timer.tick_rate == 0 {
            self.timer.seconds += 1;
        }

        // Runs the server at 20 ticks per second
        sleep(Duration::from_millis(self.timer.interval));
    }
/// Moves the server time ahead by one tick, as defined in the config file.
Moves the server time ahead by one tick, as defined in the config file.
Moves the server time ahead by one tick as defined in the config file .
fn tick(&mut self) {
        self.timer.count += 1;
        if self.timer.count % self.timer.tick_rate == 0 {
            self.timer.seconds += 1;
        }
        // Runs the server at 20 ticks per second
        sleep(Duration::from_millis(self.timer.interval));
    }
fn tick ( & mut self ) { self . timer . count += 1 ; if self . timer . count % self . timer . tick_rate == 0 { self . timer . seconds += 1 ; } // Runs the server at 20 ticks per second sleep ( Duration :: from_millis ( self . timer . interval ) ) ; }
Moves the server time ahead by one tick, as defined in the config file.
Moves the server time ahead by one tick as defined in the config file .
&mut self
&mut self