summaryrefslogtreecommitdiff
path: root/modules/mono/glue/Managed/Files/GD.cs
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2018-10-05 19:39:11 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2018-10-05 19:39:11 +0200
commitb5aa5bca12ef5995da8b5da9614a51a69c133112 (patch)
tree0351081b58376f9ded23d0810937b6ef57efea98 /modules/mono/glue/Managed/Files/GD.cs
parent6bc18042c2a809a27638f410db577ff95826c49b (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.cs2
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)