mirror of
https://github.com/wassname/phaser.git
synced 2026-07-05 17:30:19 +08:00
Fixed Animation index 0 issue and hooked TilemapLayer to camera.
This commit is contained in:
@@ -60,7 +60,7 @@ Phaser.FrameData.prototype = {
|
||||
*/
|
||||
getFrame: function (index) {
|
||||
|
||||
if (this._frames[index])
|
||||
if (this._frames.length > index)
|
||||
{
|
||||
return this._frames[index];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user