diff --git a/src/game/player.rs b/src/game/player.rs index 17b4c66..e14b982 100644 --- a/src/game/player.rs +++ b/src/game/player.rs @@ -29,8 +29,8 @@ pub struct InHand(pub Entity); pub(crate) fn deal_hands( mut commands: Commands, wall: Single>, - wall_tiles: Query>, - tiles: Query>, + wall_tiles: Populated>, + tiles: Populated>, ) -> Result { let hand = wall_tiles.iter().collect::>(); @@ -40,5 +40,6 @@ pub(crate) fn deal_hands( commands.spawn((Hand, HandTiles(hand))); + trace!("dealt hands"); Ok(()) }