diff --git a/src/main.rs b/src/main.rs index 344a71d..1900de8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -97,7 +97,7 @@ fn run_all() -> LJResult<()> { &world_state )?; // For now, draw all the time - tracer.draw(frame, 2_000)?; + tracer.draw(frame, world_state.kpps)?; }, Order::Intensity => { world_state.intensity = rs.get_int("intensity")? @@ -106,6 +106,9 @@ fn run_all() -> LJResult<()> { Order::Edh => { world_state.edh = rs.get_edh()?; }, + Order::Kpps => { + world_state.kpps = rs.get_int("kpps")?; + }, // Order::ClientKey => rs.client_key(), // Order::ColorBalance => {},