mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Amends a variable name.
This commit is contained in:
parent
b180f89104
commit
ea207b911a
@ -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));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user