Renable input on Phaser.Image fix

This commit is contained in:
nickryall 2014-03-31 21:29:35 +13:00
parent b01ad969ab
commit 8400df1b33

View file

@ -683,7 +683,7 @@ Object.defineProperty(Phaser.Image.prototype, "inputEnabled", {
if (value)
{
if (this.input === null)
if (!this.input)
{
this.input = new Phaser.InputHandler(this);
this.input.start();