Fix unsupported C# syntax in Input examples code sample

This caused a warning in the Sphinx lexer, which turns into an error
on the GitHub Actions CI.
This commit is contained in:
Hugo Locurcio
2021-05-19 17:43:01 +02:00
parent d25260150e
commit 7ac57f4c8e

View File

@@ -141,7 +141,7 @@ avoid this, make sure to test the event type first:
{
if (inputEvent is InputEventMouseButton mouseEvent)
{
GD.Print($"mouse button event at {mouseEvent.Position}");
GD.Print("mouse button event at ", mouseEvent.Position);
}
}