diff --git a/csharp_script.cpp b/csharp_script.cpp index 85da21d..2fa7709 100644 --- a/csharp_script.cpp +++ b/csharp_script.cpp @@ -3401,7 +3401,7 @@ void CSharpScript::get_members(RBSet *p_members) { /*************** RESOURCE ***************/ -RES ResourceFormatLoaderCSharpScript::load(const String &p_path, const String &p_original_path, Error *r_error) { +RES ResourceFormatLoaderCSharpScript::load(const String &p_path, const String &p_original_path, Error *r_error, bool p_no_subresource_cache) { if (r_error) *r_error = ERR_FILE_CANT_OPEN; diff --git a/csharp_script.h b/csharp_script.h index 433a210..f482c48 100644 --- a/csharp_script.h +++ b/csharp_script.h @@ -482,7 +482,7 @@ public: class ResourceFormatLoaderCSharpScript : public ResourceFormatLoader { public: - virtual RES load(const String &p_path, const String &p_original_path = "", Error *r_error = NULL); + virtual RES load(const String &p_path, const String &p_original_path = "", Error *r_error = NULL, bool p_no_subresource_cache = false); virtual void get_recognized_extensions(List *p_extensions) const; virtual bool handles_type(const String &p_type) const; virtual String get_resource_type(const String &p_path) const;