1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-26 14:38:34 +01:00

fixed GetModifier being.. recursive

This commit is contained in:
Ell 2021-06-21 01:03:24 +02:00
parent 91730b1f27
commit dca013e551

View file

@ -52,7 +52,7 @@ namespace MLEM.Input {
/// <inheritdoc cref="GetModifier(Microsoft.Xna.Framework.Input.Keys)"/>
public static ModifierKey GetModifier(this GenericInput input) {
return input.Type == GenericInput.InputType.Keyboard ? GetModifier(input) : ModifierKey.None;
return input.Type == GenericInput.InputType.Keyboard ? GetModifier((Keys) input) : ModifierKey.None;
}
/// <summary>