diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-03-02 19:32:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-02 19:32:54 +0100 |
commit | c9768f15f7bb194622b9020ab2614d47ac7e63dd (patch) | |
tree | 690c004e75c6ca33374e3549300ce8b88112127f | |
parent | c292aab247262bd82cb99f6791ffe4348b2af535 (diff) | |
parent | 6b9c22542f6948592dd3007e61b6fe0aaa51f62f (diff) |
Merge pull request #36730 from raulsntos/print-null-check
Fix missing null check in Mono Binding of GD.print
-rw-r--r-- | modules/mono/glue/GodotSharp/GodotSharp/Core/GD.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/GD.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/GD.cs index 19962d418a..2a9c2d73b1 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() |