diff --git a/src/block_placement.rs b/src/block_placement.rs index 725472f..56d5f92 100644 --- a/src/block_placement.rs +++ b/src/block_placement.rs @@ -12,7 +12,9 @@ pub fn block_placement_system( input: UniqueView, mut world: UniqueViewMut ) { - //this cant process both place and break btw + if input.action_a && input.action_b { + return + } if input.action_a || input.action_b { //get raycast info let Some(ray) = (&main_player, &raycast).iter().next().unwrap().1/**/.0 else { return };