1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-05 09:42:54 +08:00

Renaming of 'StarFountainEnabled'

This commit is contained in:
HenintsoaSky 2024-11-27 07:38:33 +03:00
parent 16d8b11385
commit a477bb7bfe

View File

@ -20,12 +20,12 @@ namespace osu.Game.Screens.Play
private StarFountain leftFountain = null!; private StarFountain leftFountain = null!;
private StarFountain rightFountain = null!; private StarFountain rightFountain = null!;
private Bindable<bool> kiaiStarFountainsEnabled = null!; private Bindable<bool> kiaiStarFountains = null!;
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(OsuConfigManager config) private void load(OsuConfigManager config)
{ {
kiaiStarFountainsEnabled = config.GetBindable<bool>(OsuSetting.StarFountains); kiaiStarFountains = config.GetBindable<bool>(OsuSetting.StarFountains);
RelativeSizeAxes = Axes.Both; RelativeSizeAxes = Axes.Both;
@ -54,10 +54,7 @@ namespace osu.Game.Screens.Play
{ {
base.OnNewBeat(beatIndex, timingPoint, effectPoint, amplitudes); base.OnNewBeat(beatIndex, timingPoint, effectPoint, amplitudes);
if (!kiaiStarFountainsEnabled.Value) if (!kiaiStarFountains.Value)
return;
if (!kiaiStarFountainsEnabled.Value)
return; return;
if (effectPoint.KiaiMode && !isTriggered) if (effectPoint.KiaiMode && !isTriggered)