Skip to content

Commit

Permalink
Merge pull request #4566 from NathanLovato/fix/input-example-typo
Browse files Browse the repository at this point in the history
Fix typo in input_examples.rst
  • Loading branch information
NathanLovato authored Jan 21, 2021
2 parents 1a36804 + 359f093 commit 81e24ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/inputs/input_examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ the :kbd:`T`:
{
if (inputEvent is InputEventKey keyEvent && keyEvent.Pressed)
{
if ((Keylist)keyEvent.Keycode == KeyList.T)
if ((KeyList)keyEvent.Keycode == KeyList.T)
{
GD.Print("T was pressed");
}
Expand Down

0 comments on commit 81e24ef

Please sign in to comment.