mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 04:02:57 +08:00
update general playfield only once
This commit is contained in:
parent
5a62760fe4
commit
04d060aba3
@ -33,6 +33,10 @@ namespace osu.Game.Rulesets.Osu.Mods
|
||||
{
|
||||
// Grab the input manager for future use
|
||||
inputManager = (OsuInputManager)drawableRuleset.KeyBindingInputManager;
|
||||
|
||||
// Hide judgment displays and follow points
|
||||
drawableRuleset.Playfield.DisplayJudgements.Value = false;
|
||||
(drawableRuleset.Playfield as OsuPlayfield)?.FollowPoints.Hide();
|
||||
}
|
||||
|
||||
public void Update(Playfield playfield)
|
||||
@ -40,10 +44,6 @@ namespace osu.Game.Rulesets.Osu.Mods
|
||||
var cursorPos = playfield.Cursor.ActiveCursor.DrawPosition;
|
||||
double currentTime = playfield.Clock.CurrentTime;
|
||||
|
||||
// Hide judgment displays and follow points
|
||||
playfield.DisplayJudgements.Value = false;
|
||||
(playfield as OsuPlayfield)?.FollowPoints.Hide();
|
||||
|
||||
// Move all currently alive object to new destination
|
||||
foreach (var drawable in playfield.HitObjectContainer.AliveObjects.OfType<DrawableOsuHitObject>())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user