Skip to content

Commit

Permalink
Rename example system per review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
LegNeato committed Jul 9, 2022
1 parent 1263382 commit bed8336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/app/headless_defaults.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fn main() {
//
// When running in headless mode there are no windows so
// you must manually send an [`bevy::app::AppExit`] event.
fn do_something(mut app_exit_events: EventWriter<AppExit>) {
fn exit_unconditionally(mut app_exit_events: EventWriter<AppExit>) {
info!("Successfully ran! Exiting...");
app_exit_events.send(AppExit);
}

0 comments on commit bed8336

Please sign in to comment.