Fixed some play and pause bugs in the editor

This commit is contained in:
Braedon
2022-01-16 21:31:49 -05:00
parent 61f3c423fe
commit e735f1ccaf
11 changed files with 165 additions and 13 deletions

View File

@ -92,13 +92,14 @@ namespace RhythmHeavenMania.Editor
public void SelectGame(string gameName, int index)
{
mg = EventCaller.instance.minigames.Find(c => c.displayName == gameName);
transform.GetChild(index).GetChild(0).gameObject.SetActive(true);
SelectedMinigame = gameName;
gameOpen = true;
DestroyEvents();
AddEvents();
transform.GetChild(index).GetChild(0).gameObject.SetActive(true);
currentEventIndex = 0;
UpdateIndex(0, false);