Fix: PID 17363638 Issue https://github.com/WPFerg/scratch-html5/issues/7
This commit is contained in:
parent
968baec89f
commit
ea1249bd6b
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ var Sprite = function(data) {
|
|||
this.rotationStyle = data.rotationStyle || 'normal';
|
||||
this.isFlipped = data.direction < 0 && data.rotationStyle == 'leftRight';
|
||||
this.costumes = data.costumes || [];
|
||||
this.currentCostumeIndex = data.currentCostumeIndex || 0;
|
||||
this.currentCostumeIndex = Math.floor(data.currentCostumeIndex) || 0;
|
||||
this.previousCostumeIndex = -1;
|
||||
|
||||
this.objName = data.objName || '';
|
||||
|
|
Reference in a new issue