Playback speed slider

This commit is contained in:
Braedon
2022-02-03 02:28:14 -05:00
parent 44a36ba846
commit cf24d11cf8
9 changed files with 764 additions and 20 deletions

View File

@ -352,9 +352,9 @@ namespace RhythmHeavenMania
public GameObject GetGame(string name)
{
if (name == "gameManager")
if (name == "gameManager" || name == "countIn")
{
name = Beatmap.entities.FindAll(c => c.datamodel.Split(0) != "gameManager" || c.datamodel.Split(0) != "countIn").ToList()[0].datamodel.Split(0);
name = Beatmap.entities.FindAll(c => c.datamodel.Split(0) != "gameManager" && c.datamodel.Split(0) != "countIn").ToList()[0].datamodel.Split(0);
}
return Resources.Load<GameObject>($"Games/{name}");
}