mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 16:43:52 +09:00
update general playfield only once
This commit is contained in:
@ -33,6 +33,10 @@ namespace osu.Game.Rulesets.Osu.Mods
|
|||||||
{
|
{
|
||||||
// Grab the input manager for future use
|
// Grab the input manager for future use
|
||||||
inputManager = (OsuInputManager)drawableRuleset.KeyBindingInputManager;
|
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)
|
public void Update(Playfield playfield)
|
||||||
@ -40,10 +44,6 @@ namespace osu.Game.Rulesets.Osu.Mods
|
|||||||
var cursorPos = playfield.Cursor.ActiveCursor.DrawPosition;
|
var cursorPos = playfield.Cursor.ActiveCursor.DrawPosition;
|
||||||
double currentTime = playfield.Clock.CurrentTime;
|
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
|
// Move all currently alive object to new destination
|
||||||
foreach (var drawable in playfield.HitObjectContainer.AliveObjects.OfType<DrawableOsuHitObject>())
|
foreach (var drawable in playfield.HitObjectContainer.AliveObjects.OfType<DrawableOsuHitObject>())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user