mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
Turn on warnings, resolve issues
This commit is contained in:
@ -95,7 +95,7 @@ namespace osu.Game.Beatmaps.Formats
|
||||
{
|
||||
colour = new Color4(byte.Parse(split[0]), byte.Parse(split[1]), byte.Parse(split[2]), split.Length == 4 ? byte.Parse(split[3]) : (byte)255);
|
||||
}
|
||||
catch (Exception e)
|
||||
catch
|
||||
{
|
||||
throw new InvalidOperationException(@"Color must be specified with 8-bit integer components");
|
||||
}
|
||||
|
Reference in New Issue
Block a user