mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 01:47:30 +09:00
CI fixes.
This commit is contained in:
parent
6c8bd4dfe4
commit
382e656e9f
@ -5,7 +5,6 @@ using OpenTK;
|
||||
using osu.Game.Rulesets.Objects.Types;
|
||||
using System.Collections.Generic;
|
||||
using osu.Game.Audio;
|
||||
using System;
|
||||
|
||||
namespace osu.Game.Rulesets.Objects
|
||||
{
|
||||
|
@ -226,14 +226,15 @@ namespace osu.Game.Rulesets.Objects.Legacy
|
||||
|
||||
private List<SampleInfo> convertSoundType(LegacySoundType type, SampleBankInfo bankInfo)
|
||||
{
|
||||
var soundTypes = new List<SampleInfo>();
|
||||
|
||||
soundTypes.Add(new SampleInfo
|
||||
var soundTypes = new List<SampleInfo>
|
||||
{
|
||||
new SampleInfo
|
||||
{
|
||||
Bank = bankInfo.Normal,
|
||||
Name = SampleInfo.HIT_NORMAL,
|
||||
Volume = bankInfo.Volume
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
if ((type & LegacySoundType.Finish) > 0)
|
||||
{
|
||||
@ -270,9 +271,9 @@ namespace osu.Game.Rulesets.Objects.Legacy
|
||||
|
||||
private class SampleBankInfo
|
||||
{
|
||||
public string Normal = null;
|
||||
public string Add = null;
|
||||
public int Volume = 0;
|
||||
public string Normal;
|
||||
public string Add;
|
||||
public int Volume;
|
||||
|
||||
public SampleBankInfo Clone()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user