mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-23 18:15:13 +00: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:
parent
8501e4805c
commit
10572ab35d
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue