Spaces:
Running
Running
Update game.js
Browse files
game.js
CHANGED
@@ -1919,7 +1919,7 @@ class Game {
|
|
1919 |
|
1920 |
if (scoreElement) scoreElement.textContent = `Score: ${this.score}`;
|
1921 |
if (timeElement) timeElement.textContent = `Time: ${this.gameTime}s`;
|
1922 |
-
if (ammoElement) ammoElement.textContent = `
|
1923 |
|
1924 |
if (gameStatsElement) {
|
1925 |
gameStatsElement.innerHTML = `
|
|
|
1919 |
|
1920 |
if (scoreElement) scoreElement.textContent = `Score: ${this.score}`;
|
1921 |
if (timeElement) timeElement.textContent = `Time: ${this.gameTime}s`;
|
1922 |
+
if (ammoElement) ammoElement.textContent = `20MM MG: ${this.fighter.ammo}`;
|
1923 |
|
1924 |
if (gameStatsElement) {
|
1925 |
gameStatsElement.innerHTML = `
|