mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-14 21:55:09 +00:00
fixed! (#504)
This commit is contained in:
parent
52ee46eebd
commit
516c245e18
2 changed files with 2 additions and 1 deletions
|
@ -92,6 +92,7 @@ namespace HeavenStudio.Games.Scripts_WizardsWaltz
|
|||
{
|
||||
yield return new WaitForSeconds(Conductor.instance.secPerBeat * game.beatInterval / 2f);
|
||||
Destroy(gameObject);
|
||||
game.currentPlants.Remove(this);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -65,7 +65,7 @@ namespace HeavenStudio.Games
|
|||
public float zRange = 5;
|
||||
public float yRange = 0.5f;
|
||||
public float plantYOffset = -2f;
|
||||
private List<Plant> currentPlants = new();
|
||||
[NonSerialized] public List<Plant> currentPlants = new();
|
||||
|
||||
public static WizardsWaltz instance;
|
||||
|
||||
|
|
Loading…
Reference in a new issue