Amends a variable name.

This commit is contained in:
Cody 2019-06-08 19:49:48 -04:00
parent b180f89104
commit ea207b911a
No known key found for this signature in database
GPG Key ID: 4953DADF9B6AD3C8

View File

@ -3,7 +3,7 @@ use common::{clock::Clock, comp};
use log::{error, info};
use std::time::Duration;
const TICK_RATE: u64 = 10; // Low value is okay, just reading messages.
const TPS: u64 = 10; // Low value is okay, just reading messages.
fn main() {
// Initialize logging.
@ -48,6 +48,6 @@ fn main() {
client.cleanup();
// Wait for the next tick.
clock.tick(Duration::from_millis(1000 / TICK_RATE));
clock.tick(Duration::from_millis(1000 / TPS));
}
}