Skip to content

Commit

Permalink
TransformShakeExtension bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Deadcows committed Nov 14, 2019
1 parent 639390b commit 186fa7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this package will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)

## [Unreleased]

- Fix: TransformShakeExtension critical bug fixed

## [1.2.0] - 2019-11-13
- Added: Reorderable Collections!
Expand Down
1 change: 1 addition & 0 deletions Extensions/TransformShakeExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ private static IEnumerator TransformShakeCoroutine(Transform transform, float sh
}

transform.position = initialPosition;
_activeShakingTransforms.Remove(transform);
}

private static void BreakShakeIfAny(Transform transform)
Expand Down

0 comments on commit 186fa7c

Please sign in to comment.