From 5cb507756acf123199b12423a7e250032184b3ee Mon Sep 17 00:00:00 2001 From: Adrien BON <63343541+adrien-bon@users.noreply.github.com> Date: Sun, 8 Sep 2024 15:57:12 +0000 Subject: [PATCH] fix: compilation when not using 'physics' feature --- CHANGELOG.md | 4 ++++ src/properties/events.rs | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e05c472..b9cbc3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## [unreleased] +### Bugfixes + +- Fix compilation issue when not using `physics` feature + ## v0.3.8 ### Features diff --git a/src/properties/events.rs b/src/properties/events.rs index 6da0c49..7372050 100644 --- a/src/properties/events.rs +++ b/src/properties/events.rs @@ -2,7 +2,6 @@ use bevy::prelude::*; use bevy_ecs_tilemap::prelude::*; use tiled::{ObjectData, TileData}; -#[cfg(feature = "physics")] use crate::prelude::*; /// This event is sent when an object registered with [crate::properties::app::TiledApp::register_tiled_object] is spawned.