mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 07:22:54 +08:00
Merge pull request #19708 from smoogipoo/fix-inspection
Fix possible null reference inspection
This commit is contained in:
commit
b4af32efb7
@ -17,7 +17,7 @@ namespace osu.Game.Input.Bindings
|
|||||||
|
|
||||||
private InputManager? parentInputManager;
|
private InputManager? parentInputManager;
|
||||||
|
|
||||||
public GlobalActionContainer(OsuGameBase game)
|
public GlobalActionContainer(OsuGameBase? game)
|
||||||
: base(matchingMode: KeyCombinationMatchingMode.Modifiers)
|
: base(matchingMode: KeyCombinationMatchingMode.Modifiers)
|
||||||
{
|
{
|
||||||
if (game is IKeyBindingHandler<GlobalAction>)
|
if (game is IKeyBindingHandler<GlobalAction>)
|
||||||
|
Loading…
Reference in New Issue
Block a user