mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:42:55 +08:00
Use Overlays
container rather than KeyBindingInputManager
for flashlight
This commit is contained in:
parent
970388d4e2
commit
b42b5f97cf
@ -82,7 +82,7 @@ namespace osu.Game.Rulesets.Mods
|
||||
flashlight.Colour = Color4.Black;
|
||||
|
||||
flashlight.Combo.BindTo(Combo);
|
||||
drawableRuleset.KeyBindingInputManager.Add(flashlight);
|
||||
drawableRuleset.Overlays.Add(flashlight);
|
||||
}
|
||||
|
||||
protected abstract Flashlight CreateFlashlight();
|
||||
|
Loading…
Reference in New Issue
Block a user