From 44d07dd42890e137ac9cb14cb2ea4be4d1386a9e Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 30 Aug 2023 13:14:10 +0200 Subject: [PATCH] Update to the latest engine. --- csharp_script.cpp | 2 +- csharp_script.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;