mirror of
https://github.com/ppy/osu-tools.git
synced 2025-06-09 09:35:15 +09:00
Revert change (incorrect osu!-side implementation)
This commit is contained in:
parent
64a308ce3e
commit
c4e2ea82da
1 changed files with 2 additions and 2 deletions
|
@ -69,8 +69,8 @@ namespace PerformanceCalculator.Difficulty
|
|||
|
||||
Debug.Assert(bindable != null);
|
||||
|
||||
object underlyingValue = bindable.GetUnderlyingSettingValue();
|
||||
Type netType = underlyingValue.GetType();
|
||||
object? underlyingValue = (object?)bindable.GetUnderlyingSettingValue();
|
||||
var netType = underlyingValue?.GetType() ?? bindable.GetType().GetInterface("IBindable`1")?.GenericTypeArguments.FirstOrDefault();
|
||||
|
||||
yield return new
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue