open doors with key

This commit is contained in:
LorrensP-2158466
2025-04-06 22:14:51 +02:00
parent 511c936fe4
commit 910cb4c70e
3 changed files with 19 additions and 16 deletions

View File

@@ -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 {
(