From 2b033ff4cd223909a381673b3e79ba933630ee3f Mon Sep 17 00:00:00 2001 From: Gautam Anand Date: Sat, 13 Jan 2024 18:23:11 -0600 Subject: [PATCH] A --- .github/workflows/buildclient.yml | 4 ++-- client/src/game/entities/Coin.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/buildclient.yml b/.github/workflows/buildclient.yml index ae4f6ed1..c85cf898 100644 --- a/.github/workflows/buildclient.yml +++ b/.github/workflows/buildclient.yml @@ -13,9 +13,9 @@ jobs: env: CI: false REACT_APP_RECAPTCHA_CLIENT_KEY: 6LdVxgYdAAAAAPtvjrXLAzSd2ANyzIkiSqk_yFpt - REACT_APP_API: api.swordbattle.io + REACT_APP_API: sb-api-fb48ef34a197.herokuapp.com REACT_APP_ENDPOINT_US: na.swordbattle.io - REACT_APP_API_BACKUP: sb-api-fb48ef34a197.herokuapp.com + REACT_APP_API_BACKUP: api.swordbattle.io REACT_APP_ENDPOINT_US_BACKUP: swordbattlev2-42256f2058d6.herokuapp.com steps: diff --git a/client/src/game/entities/Coin.ts b/client/src/game/entities/Coin.ts index f14caf2e..a137af31 100644 --- a/client/src/game/entities/Coin.ts +++ b/client/src/game/entities/Coin.ts @@ -53,6 +53,7 @@ class Coin extends BaseEntity { remove() { super.remove(); + this.eatingTween?.destroy(); this.game.gameState.removedEntities.delete(this); }