Skip to content

Commit

Permalink
Removed skulls from island
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikketer committed Jul 14, 2024
1 parent 513b160 commit 8e5fea5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ namespace Map {
if (_islandNameSprite) {
_islandNameSprite.destroy()
}
_coinSprites.forEach((coin) => coin.destroy())
_skullSprites.forEach((skull) => skull.destroy())

// Remove all listeners and run the beat-em-up phase
controller.player1.left.removeEventListener(ControllerButtonEvent.Pressed, moveCursorLeft)
Expand Down

0 comments on commit 8e5fea5

Please sign in to comment.