Skip to content

Commit

Permalink
Merge pull request #45959 from Xartorx/fix-mono-load-cache
Browse files Browse the repository at this point in the history
Fix Mono build after resource load cache changes
  • Loading branch information
akien-mga authored Feb 13, 2021
2 parents a94c3b4 + 8e1da2e commit 4c0d889
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 4c0d889

Please sign in to comment.