mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:33:30 +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;
|
||||
|
||||
public GlobalActionContainer(OsuGameBase game)
|
||||
public GlobalActionContainer(OsuGameBase? game)
|
||||
: base(matchingMode: KeyCombinationMatchingMode.Modifiers)
|
||||
{
|
||||
if (game is IKeyBindingHandler<GlobalAction>)
|
||||
|
Loading…
Reference in New Issue
Block a user