From 5f1ac45c226895d0e4cadefecae9429e6d96631e Mon Sep 17 00:00:00 2001
From: Louis Capitanchik <contact@louiscap.co>
Date: Sun, 30 Apr 2023 21:50:09 +0100
Subject: [PATCH] Use correct flags for plugin contents

---
 src/lib.rs | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/src/lib.rs b/src/lib.rs
index 2a92622..06806c4 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>()
-- 
GitLab