Fix Mono build after resource load cache changes

This commit is contained in:
Xartorx 2021-02-13 17:53:21 +03:00 committed by George
parent 041cccc287
commit 8e1da2e0e5

View File

@ -2,7 +2,7 @@ namespace Godot
{
public static partial class ResourceLoader
{
public static T Load<T>(string path, string typeHint = null, bool noCache = false) where T : class
public static T Load<T>(string path, string typeHint = null, CacheMode noCache = CacheMode.Reuse) where T : class
{
return (T)(object)Load(path, typeHint, noCache);
}