Skip to content

Commit

Permalink
feat: fix infinity sells on math objects
Browse files Browse the repository at this point in the history
  • Loading branch information
PancakePhilarmonych committed Nov 21, 2023
1 parent ae1a0b0 commit 5953636
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/GameManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ export default class GameManager {
object.getCell()!.selectArea.alpha = 0;
this.setNewColorToObject(cellGameObject!);
this.store.select(cellGameObject!);
this.selectedObject = cellGameObject!;
const gameObjectIndex = this.gameObjects.indexOf(object);
this.gameObjects.splice(gameObjectIndex, 1);
}
Expand Down

0 comments on commit 5953636

Please sign in to comment.