Skip to content

Commit

Permalink
reverted to ==, if a line is missing a statement, we'll have to make …
Browse files Browse the repository at this point in the history
…sure to add it
  • Loading branch information
reduz committed Jun 18, 2016
1 parent dcd50f8 commit 57c67fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gdscript/gd_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 57c67fb

Please sign in to comment.