Fix NaN handling

This commit is contained in:
Dean Herbert
2019-03-13 11:30:33 +09:00
parent 73d9aef5bd
commit 93b774104a
3 changed files with 23 additions and 9 deletions

View File

@ -225,8 +225,12 @@ namespace osu.Game.Rulesets.Objects.Legacy
}
catch (FormatException)
{
return null;
}
catch (OverflowException)
{
}
return null;
}
private void readCustomSampleBanks(string str, SampleBankInfo bankInfo)