From 9ec3e3d98623d071533173bd10c14a6b45956495 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Tue, 19 Jul 2022 23:26:14 +0200 Subject: [PATCH] rename method --- crates/bevy_ecs/src/world/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_ecs/src/world/mod.rs b/crates/bevy_ecs/src/world/mod.rs index 2bbec2aaa9e85..6662e483f482e 100644 --- a/crates/bevy_ecs/src/world/mod.rs +++ b/crates/bevy_ecs/src/world/mod.rs @@ -1164,7 +1164,7 @@ impl World { /// Sends the default value of the [`Event`](crate::event::Event) of type `E`. #[inline] - pub fn send_default_event(&mut self) { + pub fn send_event_default(&mut self) { self.send_event_batch(std::iter::once(E::default())); }