mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
Strict type return (boolean) for Sprite.exists
getter.
This commit is contained in:
parent
5bbb7e390b
commit
19c5b7c22c
1 changed files with 1 additions and 2 deletions
|
@ -872,8 +872,7 @@ Object.defineProperty(Phaser.Sprite.prototype, "exists", {
|
||||||
|
|
||||||
get: function () {
|
get: function () {
|
||||||
|
|
||||||
// hmm, type co-ercing? safe?
|
return !!this._cache[6];
|
||||||
return this._cache[6];
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue