Jump to content

Plugin key "in use" after game destroyed


Recommended Posts

I'm using the animated tiles plugin from nkholski with the key 'animatedTiles' (how did I come up with that? It's genius).

At a certain point I am destroying the game with `game.destroy(true)`.

Unfortunately, when creating a new game I'm getting a warning "Scene Plugin key in use: animatedTiles" that then leads to an error "Uncaught TypeError: Cannot read property 'init' of undefined". I've checked the scene and sure enough, the plugin has not been added to it.

I tried destroying the game cache before destroying the game, but that just gave me an error too.


Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...