generated from tipragot/rust
Fix ownership update condition #107
|
@ -30,7 +30,7 @@ fn setup_ownership_resources(mut commands: Commands) {
|
|||
}
|
||||
|
||||
/// The type condition for update ownership.
|
||||
type OwnershipUpdate = (Changed<Owner>, Changed<Sprite>);
|
||||
type OwnershipUpdate = Or<(Changed<Owner>, Changed<Sprite>)>;
|
||||
|
||||
/// Render the ownership of the tiles by applying colors.
|
||||
fn render_ownership(
|
||||
|
|
Loading…
Reference in a new issue