diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-02-28 23:03:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-28 23:03:10 +0100 |
commit | a1cbe8e22bec516b138436d06282046466e89c79 (patch) | |
tree | 24c8d7757a3f1d9e3543a8eff1363f0f7943cbc6 /modules/gdscript | |
parent | c5df3d4d8d3d6ee74b0dad5eeb45f318c8b205a9 (diff) | |
parent | f50488a36188d5975bfa8554687a1acdd394d6a9 (diff) |
Merge pull request #7878 from RebelliousX/else
Bunch of missing `else` statements and general logic
Diffstat (limited to 'modules/gdscript')
-rw-r--r-- | modules/gdscript/gd_function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gd_function.cpp b/modules/gdscript/gd_function.cpp index 31bac2748a..0c72f6d187 100644 --- a/modules/gdscript/gd_function.cpp +++ b/modules/gdscript/gd_function.cpp @@ -725,7 +725,7 @@ Variant GDFunction::call(GDInstance *p_instance, const Variant **p_args, int p_a err.argument-=1; } } - } if (methodstr=="free") { + } else if (methodstr=="free") { if (err.error==Variant::CallError::CALL_ERROR_INVALID_METHOD) { |