better function name
This commit is contained in:
parent
af00a49f8d
commit
c8cfc9ac15
|
@ -23,7 +23,7 @@ impl Plugin for HudPlugin {
|
||||||
fn build(&self, app: &mut App) {
|
fn build(&self, app: &mut App) {
|
||||||
app.add_systems(Startup, setup);
|
app.add_systems(Startup, setup);
|
||||||
app.add_systems(Update, (
|
app.add_systems(Update, (
|
||||||
update,
|
update_hud,
|
||||||
handle_input,
|
handle_input,
|
||||||
handle_target_event,
|
handle_target_event,
|
||||||
));
|
));
|
||||||
|
@ -460,7 +460,7 @@ fn setup(
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
fn update(
|
fn update_hud(
|
||||||
diagnostics: Res<DiagnosticsStore>,
|
diagnostics: Res<DiagnosticsStore>,
|
||||||
time: Res<Time>,
|
time: Res<Time>,
|
||||||
mut log: ResMut<Log>,
|
mut log: ResMut<Log>,
|
||||||
|
|
Loading…
Reference in a new issue