From 447acafa970841971ff60d57491811a004aca690 Mon Sep 17 00:00:00 2001 From: Raul Santos Date: Mon, 2 Mar 2020 16:26:29 +0100 Subject: [PATCH] Fix missing null check in Mono Binding of GD.print (cherry picked from commit 6b9c22542f6948592dd3007e61b6fe0aaa51f62f) --- modules/mono/glue/GodotSharp/GodotSharp/Core/GD.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/GD.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/GD.cs index 19962d418a4..2a9c2d73b14 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/GD.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/GD.cs @@ -83,7 +83,7 @@ namespace Godot 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()