Actually fixed event system

Somehow I didn't notice while testing before that everything was wrong. I was already suspecting these lines of code would do something weird, and they certainly did.
This commit is contained in:
Slaith 2022-02-27 11:01:31 -08:00
parent 8501e4805c
commit 10572ab35d

View file

@ -57,8 +57,7 @@ namespace RhythmHeavenMania
private void Update()
{
if (GameManager.instance.currentEvent >= 0 && GameManager.instance.currentEvent < GameManager.instance.Beatmap.entities.Count)
currentEntity.beat = GameManager.instance.Beatmap.entities[GameManager.instance.currentEvent].beat;
}
public void CallEvent(Beatmap.Entity entity)