summaryrefslogtreecommitdiff
path: root/modules/basis_universal
diff options
context:
space:
mode:
authorAndy Maloney <andy@ackackgames.com>2021-03-01 09:39:03 -0500
committerAndy Maloney <andy@ackackgames.com>2021-03-01 09:39:03 -0500
commit4e89cb330b29a67af3954851d17e8e318e89bb2a (patch)
tree128a172503b2e4c2700ee819663378500656132a /modules/basis_universal
parentbd42a6c51e384f55bbfda9ce64f85b471dbabda6 (diff)
[script editor] Fix two special cases not being checked in code completion
When this code was changed for 4.0, a "break" statement inside a for loop in 3.x was changed to "return". This means that the two special cases (autoloads and input actions) are never checked. Removing the return lets these work properly in the editor. (Also reorder conditionals to short-circuit and avoid expensive methods.)
Diffstat (limited to 'modules/basis_universal')
0 files changed, 0 insertions, 0 deletions