mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 02:42:54 +08:00
rename variable used for mania lookup key storage
This commit is contained in:
parent
ec3d21e2b7
commit
c0f8c1dc28
@ -120,14 +120,14 @@ namespace osu.Game.Skinning
|
||||
case SkinCustomColourLookup customColour:
|
||||
return SkinUtils.As<TValue>(getCustomColour(customColour.Lookup.ToString()));
|
||||
|
||||
case LegacyManiaSkinConfigurationLookup legacy:
|
||||
case LegacyManiaSkinConfigurationLookup maniaLookup:
|
||||
if (!AllowManiaSkin)
|
||||
return null;
|
||||
|
||||
if (!maniaConfigurations.TryGetValue(legacy.Keys, out var existing))
|
||||
maniaConfigurations[legacy.Keys] = existing = new LegacyManiaSkinConfiguration(legacy.Keys);
|
||||
if (!maniaConfigurations.TryGetValue(maniaLookup.Keys, out var existing))
|
||||
maniaConfigurations[maniaLookup.Keys] = existing = new LegacyManiaSkinConfiguration(maniaLookup.Keys);
|
||||
|
||||
switch (legacy.Lookup)
|
||||
switch (maniaLookup.Lookup)
|
||||
{
|
||||
case LegacyManiaSkinConfigurationLookups.HitPosition:
|
||||
return SkinUtils.As<TValue>(new Bindable<float>(existing.HitPosition));
|
||||
|
Loading…
Reference in New Issue
Block a user