summaryrefslogtreecommitdiff
path: root/engine/src/ui/view/world.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2026-09-20 19:06:00 +0200
committerHampusM <hampus@hampusmat.com>2026-09-20 19:06:00 +0200
commita228e48b345d142fdb0c17b5c39ea7685dd4c67b (patch)
tree3dcef1682e81a4460f592db8b202d8e546e142cb /engine/src/ui/view/world.rs
parentfd28c16e6455aeff206543b1d1b6655729aaed07 (diff)
refactor(engine): make compile again after changes in engine-ecs
Diffstat (limited to 'engine/src/ui/view/world.rs')
-rw-r--r--engine/src/ui/view/world.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/src/ui/view/world.rs b/engine/src/ui/view/world.rs
index 81c2377..6bb9755 100644
--- a/engine/src/ui/view/world.rs
+++ b/engine/src/ui/view/world.rs
@@ -876,11 +876,11 @@ fn show_add_component_popup(
{
actions.add_components(
add_component_popup_state.target_entity_id,
- [ComponentParts::from_component_info(
+ (ComponentParts::from_component_info(
&new_component_info,
new_component_id,
new_component_data,
- )],
+ ),),
);
return true;