mirror of
https://github.com/overte-org/overte.git
synced 2025-08-13 00:10:00 +02:00
Animation playing for doll, but looping
This commit is contained in:
parent
d47f938f8d
commit
3f83d5a99a
2 changed files with 1 additions and 3 deletions
|
@ -61,7 +61,6 @@
|
|||
position: props.position
|
||||
};
|
||||
this.audioInjector.options = audioOptions;
|
||||
print("ANIMATION FRAME INDEX " + props.animationFrameIndex)
|
||||
|
||||
},
|
||||
|
||||
|
@ -89,7 +88,6 @@
|
|||
// it gives us a chance to set our local JavaScript object up. In this case it means:
|
||||
// * remembering our entityID, so we can access it in cases where we're called without an entityID
|
||||
this.entityID = entityID;
|
||||
this.lastFrame = 80;
|
||||
},
|
||||
};
|
||||
// entity scripts always need to return a newly constructed object of our type
|
||||
|
|
|
@ -660,7 +660,7 @@ function createBlocks(position) {
|
|||
}
|
||||
});
|
||||
|
||||
customKey, id, data
|
||||
//customKey, id, data
|
||||
setEntityCustomData(resetKey, entity, {
|
||||
resetMe: true
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue