Skip to content

Commit

Permalink
trees grow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hmbanan666 committed Jun 9, 2024
1 parent c2c457a commit b5448c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/game/objects/tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ export class Tree extends GameObject implements IGameObjectTree {
this.isReadyToChop = true
}
if (this.size >= this.maxSize) {
this.size = this.maxSize
return
}

Expand Down

0 comments on commit b5448c6

Please sign in to comment.