diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-06-17 21:57:46 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-06-17 21:57:46 -0300 |
commit | 57c67fb0f7515564ae739e828d2f4320785d789c (patch) | |
tree | 4542796a0f96979bb6bc34dd12b995bacff86b8e | |
parent | dcd50f8838f0e0714e13c0d105030e75c9481c5a (diff) |
reverted to ==, if a line is missing a statement, we'll have to make sure to add it
-rw-r--r-- | modules/gdscript/gd_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gd_editor.cpp b/modules/gdscript/gd_editor.cpp index a0415dee2d..d5bf6463c6 100644 --- a/modules/gdscript/gd_editor.cpp +++ b/modules/gdscript/gd_editor.cpp @@ -1039,7 +1039,7 @@ static bool _guess_identifier_from_assignment_in_function(GDCompletionContext& c for(int i=0;i<func->body->statements.size();i++) { - if (func->body->statements[i]->line >= p_src_line) { + if (func->body->statements[i]->line == p_src_line) { break; } |