diff --git a/src/lib.rs b/src/lib.rs index 2a92622b254dfbd9f06900a79f913b86c14a365f..06806c496c227d8c5cbe9f1b9727bf5c1c5953fd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -58,7 +58,20 @@ mod __plugin { pub struct MicroLDTKPlugin; impl Plugin for MicroLDTKPlugin { fn build(&self, app: &mut App) { - #[cfg(any(feature = "ldtk_1_2_5", feature = "ldtk_1_2_4"))] + #[cfg(any( + feature = "ldtk_1_3_0", + feature = "ldtk_1_2_5", + feature = "ldtk_1_2_4", + feature = "ldtk_1_2_3", + feature = "ldtk_1_2_2", + feature = "ldtk_1_2_1", + feature = "ldtk_1_2_0", + feature = "ldtk_1_1_3", + feature = "ldtk_1_1_2", + feature = "ldtk_1_1_1", + feature = "ldtk_1_1_0", + feature = "ldtk_1_0_0", + ))] { app.add_event::<super::system::LevelDataUpdated>() .add_asset::<super::ldtk::Project>()