From b5aa5bca12ef5995da8b5da9614a51a69c133112 Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Fri, 5 Oct 2018 19:39:11 +0200 Subject: Fix C# API assembly build errors in generics --- modules/mono/glue/Managed/Files/GD.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/mono/glue/Managed/Files/GD.cs') diff --git a/modules/mono/glue/Managed/Files/GD.cs b/modules/mono/glue/Managed/Files/GD.cs index 3a2a527704..e4818e186c 100644 --- a/modules/mono/glue/Managed/Files/GD.cs +++ b/modules/mono/glue/Managed/Files/GD.cs @@ -67,7 +67,7 @@ namespace Godot public static T Load(string path) where T : class { - return (T) ResourceLoader.Load(path); + return ResourceLoader.Load(path); } public static void Print(params object[] what) -- cgit v1.2.3