mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 21:57:37 +02:00
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:
@ -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}");
|
||||
|
Reference in New Issue
Block a user