Always run this for now.
This commit is contained in:
parent
0e9c231907
commit
f78e23c332
|
@ -421,7 +421,7 @@ pub struct Player;
|
||||||
|
|
||||||
fn copy_coordinates_to_transform(
|
fn copy_coordinates_to_transform(
|
||||||
config: Res<CoreConfig>,
|
config: Res<CoreConfig>,
|
||||||
mut query: Query<(&Coordinates, &mut Transform), Changed<Coordinates>>,
|
mut query: Query<(&Coordinates, &mut Transform)>,
|
||||||
) {
|
) {
|
||||||
for (coordinates, mut transform) in query.iter_mut() {
|
for (coordinates, mut transform) in query.iter_mut() {
|
||||||
transform.translation.x = coordinates.0 .0 * config.pixels_per_unit as f32;
|
transform.translation.x = coordinates.0 .0 * config.pixels_per_unit as f32;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user