Skip to content

Commit

Permalink
Resetting the squish timer for elevators when not squishing anything
Browse files Browse the repository at this point in the history
  • Loading branch information
Interrupt committed Oct 14, 2020
1 parent fa874f5 commit 2e04f22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file modified Dungeoneer/assets/levels/test-level.bin
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ else if(state == ElevatorState.RETURNING)
}

if(squishDamageTimer > 20) squishDamageTimer = 0;
} else {
squishTotalTimer = 0;
}

// Handle moving
Expand Down

0 comments on commit 2e04f22

Please sign in to comment.