Skip to content

Commit

Permalink
Merge pull request #96 from neki-dev/develop
Browse files Browse the repository at this point in the history
Update to 1.17.1
  • Loading branch information
neki-dev authored Nov 3, 2023
2 parents 0b787d9 + 8fd6101 commit 5e68f81
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "izowave",
"description": "Isometric game. Build and defense in open world",
"version": "1.17.0",
"version": "1.17.1",
"keywords": [
"game",
"isometric",
Expand Down
7 changes: 6 additions & 1 deletion src/game/scenes/world/entities/shot/ball/ball.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Phaser from 'phaser';

import { Analytics } from '~lib/analytics';
import { Assets } from '~lib/assets';
import { getIsometricDistance } from '~lib/dimension';
import { Particles } from '~scene/world/effects';
Expand Down Expand Up @@ -60,7 +61,11 @@ export class ShotBall extends Phaser.Physics.Arcade.Image implements IShotBall {
this,
this.scene.getEntitiesGroup(EntityType.ENEMY),
(_, enemy) => {
this.hit(enemy as IEnemy);
try {
this.hit(enemy as IEnemy);
} catch (error) {
Analytics.TrackError(error as TypeError);
}
},
);
}
Expand Down

0 comments on commit 5e68f81

Please sign in to comment.