diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-07-29 22:30:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-29 22:30:51 +0200 |
commit | 15a02c49be7f552eb79512cff7511144023cedbe (patch) | |
tree | 009a554dc59b24d78df0b1303f6a7077f075913e /modules/mono/csharp_script.cpp | |
parent | d8f757c62deb85024047ebb5c28b59633adf9247 (diff) | |
parent | c3606cb5f3ab82248cac0d748bb291aa978b0b58 (diff) |
Merge pull request #61647 from KoBeWi/SaverResource
Diffstat (limited to 'modules/mono/csharp_script.cpp')
-rw-r--r-- | modules/mono/csharp_script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp index 06793d25e0..c7279be97f 100644 --- a/modules/mono/csharp_script.cpp +++ b/modules/mono/csharp_script.cpp @@ -3630,7 +3630,7 @@ String ResourceFormatLoaderCSharpScript::get_resource_type(const String &p_path) return p_path.get_extension().to_lower() == "cs" ? CSharpLanguage::get_singleton()->get_type() : ""; } -Error ResourceFormatSaverCSharpScript::save(const String &p_path, const Ref<Resource> &p_resource, uint32_t p_flags) { +Error ResourceFormatSaverCSharpScript::save(const Ref<Resource> &p_resource, const String &p_path, uint32_t p_flags) { Ref<CSharpScript> sqscr = p_resource; ERR_FAIL_COND_V(sqscr.is_null(), ERR_INVALID_PARAMETER); |