mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 14:32:55 +08:00
Remove alpha mangling from LegacyDecoder
This commit is contained in:
parent
2ea6763c73
commit
88d50b6c47
@ -104,10 +104,6 @@ namespace osu.Game.Beatmaps.Formats
|
||||
try
|
||||
{
|
||||
byte alpha = split.Length == 4 ? byte.Parse(split[3]) : (byte)255;
|
||||
|
||||
if (alpha == 0)
|
||||
alpha = 255;
|
||||
|
||||
colour = new Color4(byte.Parse(split[0]), byte.Parse(split[1]), byte.Parse(split[2]), alpha);
|
||||
}
|
||||
catch
|
||||
|
Loading…
Reference in New Issue
Block a user