mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-14 05:35:08 +00:00
Tweezers: Fixed visual bug associated with plucking hairs during a fast vegetable transition.
This commit is contained in:
parent
07b15ddf31
commit
f638bca3e4
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue