Merge pull request #36730 from raulsntos/print-null-check
Fix missing null check in Mono Binding of GD.print
This commit is contained in:
commit
c9768f15f7
|
@ -83,7 +83,7 @@ namespace Godot
|
||||||
|
|
||||||
public static void Print(params object[] what)
|
public static void Print(params object[] what)
|
||||||
{
|
{
|
||||||
godot_icall_GD_print(Array.ConvertAll(what, x => x.ToString()));
|
godot_icall_GD_print(Array.ConvertAll(what, x => x?.ToString()));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void PrintStack()
|
public static void PrintStack()
|
||||||
|
|
Loading…
Reference in New Issue