Skip to content

Commit

Permalink
Fixed for 1.19.1 (probably)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zingabopp committed Feb 22, 2022
1 parent 5e7008e commit 281a7ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Modifiers/ClawTrail.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ public override void LateUpdate()
var bottom = Vector3.LerpUnclamped(lastAddedData.bottomPos, prevAddedData.bottomPos, t);
var top = Vector3.LerpUnclamped(lastAddedData.topPos, prevAddedData.topPos, t);

_trailElementCollection.head.SetData(bottom, CalcNewTopPos(bottom, top), _lastTrailElementTime);
_trailElementCollection.SetHeadData(bottom, CalcNewTopPos(bottom, top), _lastTrailElementTime);
_trailElementCollection.MoveTailToHead();
}
_trailElementCollection.head.SetData(lastAddedData.bottomPos, lastAddedData.topPos, lastAddedData.time);
_trailElementCollection.SetHeadData(lastAddedData.bottomPos, lastAddedData.topPos, lastAddedData.time);
_trailElementCollection.UpdateDistances();

_trailRenderer.transform.position = transform.rotation * new Vector3(0, TrailYOffset);
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"SongCore": "^3.9.0"
},
"description": "Gameplay modifier that shrinks sabers by 70% & alters grip.",
"gameVersion": "1.19.0",
"gameVersion": "1.19.1",
"id": "claws",
"name": "Claws",
"version": "1.9.0",
Expand Down

0 comments on commit 281a7ee

Please sign in to comment.