mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 08:37:37 +02:00
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:
@ -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)
|
||||
|
Reference in New Issue
Block a user