From 7ea69bfbb517d57463a809490a94dffcb3e2d441 Mon Sep 17 00:00:00 2001 From: SET001 Date: Thu, 2 Nov 2023 16:39:49 +0200 Subject: [PATCH] add PoissonScrollerGenerator to type registry --- src/plugin.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugin.rs b/src/plugin.rs index da1904e..0c25ef1 100644 --- a/src/plugin.rs +++ b/src/plugin.rs @@ -1,7 +1,8 @@ pub struct ScrollerPlugin; use crate::{ - generator::generator, generators::poisson::poisson_generator, scroller::*, ScrollerGenerator, + generator::generator, generators::poisson::poisson_generator, poisson::PoissonScrollerGenerator, + scroller::*, ScrollerGenerator, }; use bevy::prelude::*; @@ -15,6 +16,7 @@ impl Plugin for ScrollerPlugin { .register_type::() .register_type::() .register_type::() + .register_type::() .register_type::>() .register_type::>() .add_systems(PreUpdate, init)