chore: silence unimportant warning

Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
Schmarni
2025-10-31 07:44:12 +01:00
parent 9f89d1a9ec
commit 8ab891edb5

View File

@@ -25,7 +25,7 @@ fn despawn(
if let Ok(children) = child_query.get(e) {
for e in children {
if has_spatial.get(*e).unwrap_or_default() {
cmds.entity(*e).remove::<ChildOf>();
cmds.entity(*e).try_remove::<ChildOf>();
}
}
}