diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2018-10-05 19:39:11 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2018-10-05 19:39:11 +0200 |
commit | b5aa5bca12ef5995da8b5da9614a51a69c133112 (patch) | |
tree | 0351081b58376f9ded23d0810937b6ef57efea98 /modules/mono/glue/Managed/Files/GD.cs | |
parent | 6bc18042c2a809a27638f410db577ff95826c49b (diff) |
Fix C# API assembly build errors in generics
Diffstat (limited to 'modules/mono/glue/Managed/Files/GD.cs')
-rw-r--r-- | modules/mono/glue/Managed/Files/GD.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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<T>(string path) where T : class { - return (T) ResourceLoader.Load(path); + return ResourceLoader.Load<T>(path); } public static void Print(params object[] what) |