spilgames / glue

Glue is a JavaScript game engine for making web games that run on desktop and touch devices.
glue-engine.com
Other
10 stars 4 forks source link

Debugbar should not be added when it's already there #233

Open pixelscripter opened 10 years ago

pixelscripter commented 10 years ago

When you start multiple instances of a Glue game, the debug bar gets added multiple times as well. We should check if it already exists and only add it when it doesn't.