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:
@@ -101,7 +101,7 @@ Phaser.AnimationManager.prototype = {
|
||||
// If they didn't set the useNumericIndex then let's at least try and guess it
|
||||
if (typeof useNumericIndex === 'undefined')
|
||||
{
|
||||
if (frames && frames[0] && typeof frames[0] === 'number')
|
||||
if (frames && typeof frames[0] === 'number')
|
||||
{
|
||||
useNumericIndex = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user