mirror of
https://github.com/bevyengine/bevy
synced 2024-11-25 06:00:20 +00:00
make variable immutable
This commit is contained in:
parent
8e39268d56
commit
c0f8ded062
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ fn build_print_status_system() -> Box<dyn Schedulable> {
|
||||||
let mut elapsed = 0.0;
|
let mut elapsed = 0.0;
|
||||||
let mut frame_time_total = 0.0;
|
let mut frame_time_total = 0.0;
|
||||||
let mut frame_time_count = 0;
|
let mut frame_time_count = 0;
|
||||||
let mut frame_time_max = 10;
|
let frame_time_max = 10;
|
||||||
let mut frame_time_values = VecDeque::new();
|
let mut frame_time_values = VecDeque::new();
|
||||||
SystemBuilder::new("PrintStatus")
|
SystemBuilder::new("PrintStatus")
|
||||||
.read_resource::<Time>()
|
.read_resource::<Time>()
|
||||||
|
|
Loading…
Reference in a new issue