From 8e1da2e0e56aa6b84178839467555c8eb8ef7f48 Mon Sep 17 00:00:00 2001 From: Xartorx Date: Sat, 13 Feb 2021 17:53:21 +0300 Subject: Fix Mono build after resource load cache changes --- .../GodotSharp/GodotSharp/Core/Extensions/ResourceLoaderExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Extensions/ResourceLoaderExtensions.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Extensions/ResourceLoaderExtensions.cs index 5f64c09a89..74fa05d1fd 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); } -- cgit v1.2.3