X-Git-Url: https://codewiz.org/gitweb?p=mandelwow.git;a=blobdiff_plain;f=timer.rs;h=afbfd1ab6183346636f6b6a0358fe09b82798d14;hp=8434a69976afeaecb2449d9636eb8700eb199ddb;hb=29b275596efed3b3064072483aa6d8c4cba1e3d4;hpb=6022e031acedd52a7a6493e1820daeaf82ea2780 diff --git a/timer.rs b/timer.rs index 8434a69..afbfd1a 100644 --- a/timer.rs +++ b/timer.rs @@ -9,6 +9,7 @@ type Rocket = rust_rocket::Rocket; #[cfg(not(feature = "editor"))] type Rocket = (); +#[cfg(feature = "editor")] const BPS: f32 = 10.0; #[derive(Debug)]