diff options
Diffstat (limited to 'engine/src/window.rs')
-rw-r--r-- | engine/src/window.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/src/window.rs b/engine/src/window.rs index b308539..ccc1b8d 100644 --- a/engine/src/window.rs +++ b/engine/src/window.rs @@ -8,7 +8,7 @@ use ecs::Sole; use glfw::WindowSize; use crate::data_types::dimens::Dimens; -use crate::event::{PostPresent as PostPresentEvent, Start as StartEvent}; +use crate::event::{Conclude as ConcludeEvent, Start as StartEvent}; use crate::vector::Vec2; mod reexports @@ -258,7 +258,7 @@ impl ecs::extension::Extension for Extension fn collect(self, mut collector: ExtensionCollector<'_>) { collector.add_system(StartEvent, initialize); - collector.add_system(PostPresentEvent, update); + collector.add_system(ConcludeEvent, update); let window = self .window_builder |