Warning Fixes

This commit is contained in:
Andrey Zavadskiy
2017-02-09 16:18:08 +03:00
parent 60e206e587
commit e06aa44c4c
10 changed files with 16 additions and 22 deletions

View File

@ -17,13 +17,13 @@ namespace osu.Game.Screens.Play
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
{
if (args.Key == this.Key) IsLit = true;
if (args.Key == Key) IsLit = true;
return base.OnKeyDown(state, args);
}
protected override bool OnKeyUp(InputState state, KeyUpEventArgs args)
{
if (args.Key == this.Key) IsLit = false;
if (args.Key == Key) IsLit = false;
return base.OnKeyUp(state, args);
}
}