mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 13:37:40 +02:00
fixed! (#504)
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user