Merge pull request #45959 from Xartorx/fix-mono-load-cache
Fix Mono build after resource load cache changes
This commit is contained in:
commit
4c0d889191
|
@ -2,7 +2,7 @@ namespace Godot
|
||||||
{
|
{
|
||||||
public static partial class ResourceLoader
|
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);
|
return (T)(object)Load(path, typeHint, noCache);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue