Skip to content

Commit daaf0da

Browse files
committed
Remove bugged lenience feature from zipline
The extra grace timer frames don't actually kick in when they're supposed to + the reset value actually makes things less lenient most of the time. The vanilla value seems to work well
1 parent dfba8a0 commit daaf0da

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Code/ZipLine.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ public override void Update() {
8282
if (grabbed) {
8383
if (Math.Abs(player.Speed.X) > 20) {
8484
player.LiftSpeed = player.Speed;
85-
player.LiftSpeedGraceTime = 0.2f;
8685
}
8786

8887
if (player.CenterX > RightEdge || player.CenterX < LeftEdge) {
@@ -205,7 +204,6 @@ private static int ZipLineUpdate() {
205204

206205
if (Math.Sign(self.LiftSpeed.X) * Math.Sign(self.Speed.X) == -1 || Math.Abs(self.LiftSpeed.X) <= Math.Abs(self.Speed.X)) {
207206
self.LiftSpeed = self.Speed;
208-
self.LiftSpeedGraceTime = 0.15f;
209207
}
210208

211209
int moveX = DynamicData.For(self).Get<int>("moveX");

0 commit comments

Comments
 (0)