add walls destroyed stat
This commit is contained in:
parent
0aac6f780b
commit
9cf4304845
4 changed files with 12 additions and 0 deletions
|
@ -77,7 +77,11 @@ internal sealed class CollideBullets(
|
|||
{
|
||||
var offsetPixel = new PixelPosition(x, y);
|
||||
if (options.Value.DestructibleWalls)
|
||||
{
|
||||
map.Current.DestroyWallAt(offsetPixel);
|
||||
owner.Scores.WallsDestroyed++;
|
||||
}
|
||||
|
||||
TryHitTankAt(offsetPixel.ToFloatPosition(), owner);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue