fix: derp
This commit is contained in:
parent
b65714589f
commit
24a35b5f2a
|
@ -44,7 +44,7 @@ export default class VisibleAabbs extends System {
|
||||||
if (VisibleAabb) {
|
if (VisibleAabb) {
|
||||||
let size = undefined;
|
let size = undefined;
|
||||||
if (Sprite) {
|
if (Sprite) {
|
||||||
const frame = '' !== Sprite.animation
|
const frame = Sprite.animation
|
||||||
? Sprite.$$sourceJson.animations[Sprite.animation][Sprite.frame]
|
? Sprite.$$sourceJson.animations[Sprite.animation][Sprite.frame]
|
||||||
: '';
|
: '';
|
||||||
size = Sprite.$$sourceJson.frames[frame].sourceSize;
|
size = Sprite.$$sourceJson.frames[frame].sourceSize;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user