fix(item): item destroy not sending correctly

This commit is contained in:
Nova
2024-06-15 13:58:36 -04:00
parent e2c9e06cd3
commit 53979ce167
5 changed files with 38 additions and 15 deletions

View File

@@ -40,7 +40,7 @@ impl Transform {
static ZONEABLE_REGISTRY: Registry<Spatial> = Registry::new();
pub struct Spatial {
node: Weak<Node>,
pub node: Weak<Node>,
parent: Mutex<Option<Arc<Spatial>>>,
old_parent: Mutex<Option<Arc<Spatial>>>,
transform: Mutex<Mat4>,