From 8e1da2e0e56aa6b84178839467555c8eb8ef7f48 Mon Sep 17 00:00:00 2001 From: Xartorx Date: Sat, 13 Feb 2021 17:53:21 +0300 Subject: [PATCH] Fix Mono build after resource load cache changes --- .../GodotSharp/Core/Extensions/ResourceLoaderExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Extensions/ResourceLoaderExtensions.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Extensions/ResourceLoaderExtensions.cs index 5f64c09a898..74fa05d1fd4 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Extensions/ResourceLoaderExtensions.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Extensions/ResourceLoaderExtensions.cs @@ -2,7 +2,7 @@ namespace Godot { public static partial class ResourceLoader { - public static T Load(string path, string typeHint = null, bool noCache = false) where T : class + public static T Load(string path, string typeHint = null, CacheMode noCache = CacheMode.Reuse) where T : class { return (T)(object)Load(path, typeHint, noCache); }