forked from noxious/server
frameCount fix
This commit is contained in:
parent
a4437fadce
commit
3869eefaaf
6
package-lock.json
generated
6
package-lock.json
generated
@ -5188,9 +5188,9 @@
|
|||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/long": {
|
"node_modules/long": {
|
||||||
"version": "5.2.3",
|
"version": "5.2.4",
|
||||||
"resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz",
|
"resolved": "https://registry.npmjs.org/long/-/long-5.2.4.tgz",
|
||||||
"integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==",
|
"integrity": "sha512-qtzLbJE8hq7VabR3mISmVGtoXP8KGc2Z/AT8OuqlYD7JTR3oqrgwdjnk07wpj1twXxYmgDXgoKVWUG/fReSzHg==",
|
||||||
"license": "Apache-2.0"
|
"license": "Apache-2.0"
|
||||||
},
|
},
|
||||||
"node_modules/lru-cache": {
|
"node_modules/lru-cache": {
|
||||||
|
@ -22,7 +22,8 @@ export class Sprite extends BaseSprite {
|
|||||||
isLooping: spriteAction.getIsLooping(),
|
isLooping: spriteAction.getIsLooping(),
|
||||||
frameWidth: spriteAction.getFrameWidth(),
|
frameWidth: spriteAction.getFrameWidth(),
|
||||||
frameHeight: spriteAction.getFrameHeight(),
|
frameHeight: spriteAction.getFrameHeight(),
|
||||||
frameRate: spriteAction.getFrameRate()
|
frameRate: spriteAction.getFrameRate(),
|
||||||
|
frameCount: spriteAction.getSprites()?.length
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user