Tweezers: Fixed visual bug associated with plucking hairs during a fast vegetable transition.

This commit is contained in:
Jenny Crowe 2022-02-14 11:23:24 -07:00
parent cdb1b14ee6
commit 719ceaccf9

View file

@ -204,6 +204,9 @@ namespace RhythmHeavenMania.Games.RhythmTweezers
private void ResetVegetable() private void ResetVegetable()
{ {
// If the tweezers happen to be holding a hair, drop it immediately so it can be destroyed below.
Tweezers.DropHeldHair();
foreach (Transform t in HairsHolder.transform) foreach (Transform t in HairsHolder.transform)
{ {
GameObject.Destroy(t.gameObject); GameObject.Destroy(t.gameObject);