1
0
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:
Dean Herbert 2022-08-11 21:52:09 +09:00 committed by GitHub
commit b4af32efb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>)