mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix warnings and clippy recommendations in common
This commit is contained in:
@ -38,7 +38,7 @@ const BG_COLOR: Rgba<f32> = Rgba {
|
||||
impl PlayState for MainMenuState {
|
||||
fn play(&mut self, _: Direction, global_state: &mut GlobalState) -> PlayStateResult {
|
||||
// Set up an fps clock.
|
||||
let mut clock = Clock::new();
|
||||
let mut clock = Clock::start();
|
||||
|
||||
// Used for client creation.
|
||||
let mut client_init: Option<ClientInit> = None;
|
||||
|
Reference in New Issue
Block a user