Fixed a comment in the fixed timestep example (#2245)
Co-authored-by: Daniel Borges <daniel@manufacture43.com>
This commit is contained in:
parent
4b1d47da99
commit
5cccba5d21
@ -13,7 +13,7 @@ fn main() {
|
|||||||
.add_plugins(DefaultPlugins)
|
.add_plugins(DefaultPlugins)
|
||||||
// this system will run once every update (it should match your screen's refresh rate)
|
// this system will run once every update (it should match your screen's refresh rate)
|
||||||
.add_system(frame_update.system())
|
.add_system(frame_update.system())
|
||||||
// add a new stage that runs every two seconds
|
// add a new stage that runs twice a second
|
||||||
.add_stage_after(
|
.add_stage_after(
|
||||||
CoreStage::Update,
|
CoreStage::Update,
|
||||||
FixedUpdateStage,
|
FixedUpdateStage,
|
||||||
|
Loading…
Reference in New Issue
Block a user