summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorXartorx <xartorx@gmail.com>2021-02-13 17:53:21 +0300
committerGeorge <xartorx@gmail.com>2021-02-13 22:13:45 +0300
commit8e1da2e0e56aa6b84178839467555c8eb8ef7f48 (patch)
tree95c16b5b0e4b05315d0f4cad5c0ff1d12a0cc045 /modules
parent041cccc28773fe2d832a90888416df106f2a6d79 (diff)
Fix Mono build after resource load cache changes
Diffstat (limited to 'modules')
-rw-r--r--modules/mono/glue/GodotSharp/GodotSharp/Core/Extensions/ResourceLoaderExtensions.cs2
1 files changed, 1 insertions, 1 deletions
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<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);
}