diff --git a/src/gameobjects/Sprite.js b/src/gameobjects/Sprite.js index c0427e0d..e329aadb 100644 --- a/src/gameobjects/Sprite.js +++ b/src/gameobjects/Sprite.js @@ -872,8 +872,7 @@ Object.defineProperty(Phaser.Sprite.prototype, "exists", { get: function () { - // hmm, type co-ercing? safe? - return this._cache[6]; + return !!this._cache[6]; },