From 2d00bbb2db23fb43db58604847017e034391a5ad Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Mon, 18 Jul 2022 11:53:33 -0500 Subject: [PATCH] Add implementation of `PointLike` for `&Destination`. --- src/pathfinding.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pathfinding.rs b/src/pathfinding.rs index c517d8e..72579a0 100644 --- a/src/pathfinding.rs +++ b/src/pathfinding.rs @@ -29,6 +29,7 @@ struct Calculating(Task>); pub struct Destination(pub (i32, i32)); impl_pointlike_for_tuple_component!(Destination); +impl_pointlike_for_tuple_component!(&Destination); #[derive(Component, Clone, Debug, Default, Reflect)] #[reflect(Component)]