make base datamodels for special entity reading (#463)

* make base datamodels for special entity reading

* fix crop stomp breaking when no game switch or remix end is set

* fix save shortcut

fix loading charts with no music
This commit is contained in:
minenice55
2023-06-11 12:12:25 -04:00
committed by GitHub
parent af8395fb6a
commit 9e3e594209
4 changed files with 91 additions and 28 deletions

View File

@ -188,6 +188,11 @@ namespace HeavenStudio
}
current = load.Current;
}
catch (System.IO.FileNotFoundException f)
{
Debug.LogWarning("chart has no music: " + f.Message);
Conductor.instance.musicSource.clip = null;
}
catch (Exception e)
{
Debug.LogError($"Failed to load music: {e.Message}");