We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7e7496 commit af51193Copy full SHA for af51193
package.json
@@ -1,7 +1,7 @@
1
{
2
"name": "last-one-flying",
3
"description": "An arcade survival shooter made with Phaser 3.",
4
- "version": "0.14.0",
+ "version": "0.14.1",
5
"type": "module",
6
"repository": {
7
"type": "git",
src/systems/combatSystem.js
@@ -57,6 +57,10 @@ export class CombatSystem {
57
this._enemyPool,
58
this._player,
59
(enemy, player) => {
60
+ if (this._gracePeriodTimeLeft > 0) {
61
+ return;
62
+ }
63
+
64
this.destroyShip(enemy);
65
const activeEnemies = this._enemyPool.getMatching('active', true);
66
const closestEnemy = activeEnemies.reduce(
0 commit comments