mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 03:35:10 +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
554a8833ec
commit
a4af3adaea
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