mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 15:03:13 +08:00
Combine construction and assignment.
This commit is contained in:
parent
a999c42d8a
commit
cae4c7c6e5
@ -108,10 +108,9 @@ namespace osu.Game.Rulesets.Objects.Legacy
|
||||
nodeSoundTypes.Add(soundType);
|
||||
|
||||
// Read any per-node sound types
|
||||
string[] adds = null;
|
||||
if (split.Length > 8 && split[8].Length > 0)
|
||||
{
|
||||
adds = split[8].Split('|');
|
||||
string[] adds = split[8].Split('|');
|
||||
for (int i = 0; i < nodes; i++)
|
||||
{
|
||||
if (i >= adds.Length)
|
||||
|
Loading…
Reference in New Issue
Block a user