summaryrefslogtreecommitdiff
path: root/modules/mono/csharp_script.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-03-31 14:17:27 +0200
committerGitHub <noreply@github.com>2020-03-31 14:17:27 +0200
commit8dd58a615730e7c015913e168831b752d7b0b0aa (patch)
tree7f3b07985a605c128be736df2c1269a584d2305b /modules/mono/csharp_script.cpp
parenteab934e86868977badcca198f70847632f90bf1b (diff)
parent21d1ea60a7193eae9be574c1730f39b0fd2bceb2 (diff)
Merge pull request #37153 from neikeq/mono_ios-4.0
[master] Mono/C#: Add iOS support
Diffstat (limited to 'modules/mono/csharp_script.cpp')
-rw-r--r--modules/mono/csharp_script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp
index 28bacbd0f0..bb3d0ef46f 100644
--- a/modules/mono/csharp_script.cpp
+++ b/modules/mono/csharp_script.cpp
@@ -763,7 +763,7 @@ bool CSharpLanguage::is_assembly_reloading_needed() {
if (proj_assembly) {
String proj_asm_path = proj_assembly->get_path();
- if (!FileAccess::exists(proj_assembly->get_path())) {
+ if (!FileAccess::exists(proj_asm_path)) {
// Maybe it wasn't loaded from the default path, so check this as well
proj_asm_path = GodotSharpDirs::get_res_temp_assemblies_dir().plus_file(appname_safe);
if (!FileAccess::exists(proj_asm_path))