open doors with key
This commit is contained in:
@@ -660,7 +660,7 @@ fn spawn_doors(
|
||||
(
|
||||
(0, 1),
|
||||
Transform::from_xyz(2.0 * x as f32, 0.0, -2.0 * z as f32)
|
||||
.with_rotation(Quat::from_rotation_y(90.0_f32.to_radians())),
|
||||
.with_rotation(Quat::from_rotation_y(-90.0_f32.to_radians())),
|
||||
)
|
||||
} else {
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user