From 7a54e4aa2def15d3c0d63634a5a9b916a3944d29 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 3 Mar 2023 14:24:35 +0100 Subject: [PATCH] added a default constructor to Combination --- MLEM/Input/Keybind.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MLEM/Input/Keybind.cs b/MLEM/Input/Keybind.cs index 07a489b..4021544 100644 --- a/MLEM/Input/Keybind.cs +++ b/MLEM/Input/Keybind.cs @@ -390,6 +390,11 @@ namespace MLEM.Input { this.InverseModifiers = this.InverseModifiers.Where(k => k != this.Key).Except(this.Modifiers).ToArray(); } + /// + /// Creates a new empty combination using the default with the input type and no or . + /// + public Combination() : this(default, null, null) {} + /// /// Returns whether this combination is currently down. /// See for more information.