check walls for spawn

This commit is contained in:
Vinzenz Schroeter 2024-04-14 22:45:51 +02:00
commit 359e0235f9

View file

@ -9,5 +9,5 @@ internal sealed class CollideBulletsWithMap(BulletManager bullets, MapService ma
}
private bool BulletHitsWall(Bullet bullet) =>
map.Current.IsCurrentlyWall(bullet.Position.ToPixelPosition());
map.Current.IsWall(bullet.Position.ToPixelPosition());
}