Merge pull request #45959 from Xartorx/fix-mono-load-cache

Fix Mono build after resource load cache changes
This commit is contained in:
Rémi Verschelde 2021-02-13 21:54:16 +01:00 committed by GitHub
commit 4c0d889191
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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);
}