Skip to content

Commit

Permalink
feat: remove ending whitespace on commands if any
Browse files Browse the repository at this point in the history
  • Loading branch information
winstxnhdw committed Feb 12, 2024
1 parent 5206b5b commit 7c4de9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lc-hax/Scripts/Patches/CommandPatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ static bool Prefix(HUDManager __instance, ref bool __state) {
}

try {
Chat.ExecuteCommand(hudManager.chatTextField.text);
Chat.ExecuteCommand(hudManager.chatTextField.text.TrimEnd());
}

catch (Exception exception) {
Expand Down

0 comments on commit 7c4de9a

Please sign in to comment.