Fix the animation issue

This commit is contained in:
Schluffe
2026-02-25 23:59:06 +01:00
parent 9ab90b579c
commit a0671e7953
4 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -15,5 +15,5 @@ const sprite = {
defineEntity("portal", {
position: createVector(64, 64),
sprite,
animation: createSpriteAnimation(sprite, 400, 0),
$animation: { value: createSpriteAnimation(sprite, 400, 0) },
});